OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
change price format (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

Change price format

msmgin (User)
Junior Boarder
Posts: 35
graphgraph
User Offline Click here to see the profile of this user
change price format 10 Years, 5 Months ago
Karma: 0  
Dear ,
the propety view show the price as 1,200,500.00 $ ,
how I can change the view to be like 1,200,500 $ . with out decimal.


waiting for your support.
thank you,
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8348
graph
User Offline Click here to see the profile of this user
Re:change price format 10 Years, 5 Months ago
Karma: 102  
Hello,

Please at file
{site}/components/com_realestatemanager/functions.php


check function
formatMoney

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
msmgin (User)
Junior Boarder
Posts: 35
graphgraph
User Offline Click here to see the profile of this user
Re:change price format 10 Years, 5 Months ago
Karma: 0  
done...
change this to

$number = sprintf('%.0f', $number);

thanks,
Logged Logged
The administrator has disabled public write access.
Go to top
»