money-format

How to display Currency in Indian Numbering Format in PHP

↘锁芯ラ 提交于 2019-11-27 12:06:07
I have a question about formatting the Rupee currency (Indian Rupee - INR). For example, numbers here are represented as: 1 10 100 1,000 10,000 1,00,000 10,00,000 1,00,00,000 10,00,00,000 Refer Indian Numbering System I have to do with it PHP. I have saw this question Displaying Currency in Indian Numbering Format . But couldn't able to get it for PHP my problem. Update: How to use money_format() in indian currency format? Baba 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)

How to display Currency in Indian Numbering Format in PHP

微笑、不失礼 提交于 2019-11-26 18:09:48
问题 I have a question about formatting the Rupee currency (Indian Rupee - INR). For example, numbers here are represented as: 1 10 100 1,000 10,000 1,00,000 10,00,000 1,00,00,000 10,00,00,000 Refer Indian Numbering System I have to do with it PHP. I have saw this question Displaying Currency in Indian Numbering Format. But couldn't able to get it for PHP my problem. Update: How to use money_format() in indian currency format? 回答1: You have so many options but money_format can do the trick for you