Danish currency delimiter and separator

  • Rita Linde
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 1 week ago #79921 by Rita Linde
Danish currency delimiter and separator was created by Rita Linde
Hi,
First of all, thanks for a great component.
I need to change the Danish currency delimiter from . (period) to , (comma) and add a thousand separator.

At the moment the danish prices are shown as kr. 1000.00. But the correct way is kr. 1.000,00.

Thanks
Rita

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

More
8 years 6 days ago #79971 by Mr. Dam
Replied by Mr. Dam on topic Danish currency delimiter and separator
Hi Rita,
To change the money format, please follow these steps:
1. Open file:
root > administrator > components > com_osservicesbooking > helpers > helper.php
2. Find
$money .= number_format($amount,2,'.','')." ";
and change to
$money .= number_format($amount,2,',','.')." ";
Good luck
Dam

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

Moderators: Mr. Dam