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?
Above Function Not working with Decimal
Answer : 10,00,00,34,000.001
If you dont want to use any inbuilt function in my case i was doing on iis server so was unable to use one the function in php so did this
This for both integer and float values
heres is simple thing u can do ,
The output will be , Rs.100,000.00 .
The example you've linked is making use of the ICU libraries which are available with PHP in the intl ExtensionDocs:
Or maybe better fitting in your case: