- Posts: 5
- Thank you received: 0
OS Property support center
SOLVED !!! Change Currency Format
- Barbara
- Topic Author
- Offline
- New Member
-
Less
More
9 years 10 months ago - 9 years 10 months ago #64587
by Barbara
SOLVED !!! Change Currency Format was created by Barbara
Hi,
I would like to change Currency Format. Currently in Configuration there are several options, unformunately non of them reflects the way, we have our Currency Format.
Currently it looks like: CHF 2,950.00
However I would like to change in the configuration to: CHF 2'950.00
Is there an easy way to add a new number format to the dropdown? 000'000'000.00
Thank you for your advice and help.
Barbara
I would like to change Currency Format. Currently in Configuration there are several options, unformunately non of them reflects the way, we have our Currency Format.
Currently it looks like: CHF 2,950.00
However I would like to change in the configuration to: CHF 2'950.00
Is there an easy way to add a new number format to the dropdown? 000'000'000.00
Thank you for your advice and help.
Barbara
Last edit: 9 years 10 months ago by Mr. Dam.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 10 months ago #64628
by Mr. Dam
Replied by Mr. Dam on topic Change Currency Format
Hi,
To change the money format as you want, please open file: components > com_osproperty > helpers > common.php
find
and change to
Good luck
Dam
To change the money format as you want, please open file: components > com_osproperty > helpers > common.php
find
Code:
case "1":
return number_format($price,2,',','.');
break;
case "2":
return number_format($price,2,',',' ');
break;
case "3":
return number_format($price,2,'.',',');
break;
case "4":
return number_format($price,0,',','.');
break;
case "5":
return number_format($price,0,',',' ');
break;
case "6":
return number_format($price,0,'.',',');
break;
and change to
Code:
case "1":
return number_format($price,2,"'",".");
break;
case "2":
return number_format($price,2,',',' ');
break;
case "3":
return number_format($price,2,".","'");
break;
case "4":
return number_format($price,0,,','.');
break;
case "5":
return number_format($price,0,',',' ');
break;
case "6":
return number_format($price,0,".","'");
break;
Good luck
Dam
The following user(s) said Thank You: Barbara
Please Log in or Create an account to join the conversation.
- Barbara
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
9 years 10 months ago #64629
by Barbara
Replied by Barbara on topic Change Currency Format
Thank you very much Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.