How to display Currency in Indian Numbering Format in PHP?
You have so many options but money_format can do the trick for you. Example: $amount=”100000″; setlocale(LC_MONETARY, ‘en_IN’); $amount = money_format(‘%!i’, $amount); echo $amount; Output: 1,00,000.00 Note: The function money_format() is only defined if the system has strfmon capabilities. For example, Windows does not, so money_format() is undefined in Windows. Pure PHP Implementation – Works on … Read more