Change "period" to comma on amount

  • Fabio Alves
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 months 1 week ago #117236 by Fabio Alves
Change "period" to comma on amount was created by Fabio Alves
Hi,
Its posible to change "period" to "comma" on amount ? I need to show amount in brazilian real amount (like "R$ 10.000,00").
Thanks

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #117254 by Mr. Dam
Replied by Mr. Dam on topic Change "period" to comma on amount
Hi Fabio,
You can change the money format through function: "showMoney" in file: root -> administrator -> components -> com_osservicesbooking -> helpers -> helper.php
This code
$money .= number_format($amount,2,'.','')." ";
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam