Welcome To Agriya FAQ

ID #0

Replace dot with comma in Currency value.

Not all currencies follow the US dollar format of using a full stop to separate dollars from cents (ie. $9.99). If your currency convention requires a comma , instead then you can update it using the method below.

To replace dot with comma in currency value shown in deal and purchase order you have to edit the following div. (Please do a back up of files before editing)

Locate the following file:

/app/app_helper.php

Change the line of code below in the cCurrency function:

$r = '' . number_format($r, $_precision, '.', ',') . '';

Change it to :

$r = '' . number_format($r, $_precision, ',', '.') . '';

Tags:

-