Using the different numbering system (such as Indian) for currency |
LCM already had a way to format currency so that it is "1,000,000.00" in English, or "1 000 000,00" in French, but there was no way to support other numbering systems, such as the Indian numbering system, which would print the same number in the form "1,00,00,00.00". [1]
To use the Indian numbering system, add the following variable in your my_option.php file:
This will call the function format_money_india(), which is located in inc/inc_filters.php.
It is also possible to write a custom function, which can be declared in the my_options.php file:
For more information about the my_options.php, refer to Customizing LCM internals using the "my_options" file.
[1] See Wikipedia: Indian numbering system.