OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: change price format
#12172
msmgin (User)
Junior Boarder
Posts: 35
graphgraph
User Offline Click here to see the profile of this user
change price format 2 Years, 7 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.
#12174
admin (Admin)
Admin
Posts: 4861
graph
User Online Now Click here to see the profile of this user
Re:change price format 2 Years, 7 Months ago Karma: 61  
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.
#12175
msmgin (User)
Junior Boarder
Posts: 35
graphgraph
User Offline Click here to see the profile of this user
Re:change price format 2 Years, 7 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
What are you looking for?
Anti-spam question: How many eyes has a typical person?