how to display 26,500,000 to 2,65,00,000 on price on cards as i am from india i want to use indian formet
Hi,
We use the core WordPress function for the number format number_format_i18n() – Function | Developer.WordPress.org It follows the WordPress locale settings, keeping the English locale but changing the number format would require customizations or a plugin — I found this related topic How to set comma seperator as per Indian currency format | WordPress.org
Hope this helps
Thaks for your reply cn you provide any code snippet for this if you can it will really help
Sorry, I couldn’t find the exact code snippet — the suggested solution seems to be switching the locale, but if you want to keep English please try searching for “number_format_i18n change format via filter hook”, ChatGPT may be more helpful than search engines in this case.
Thanks For Your Kind Reply
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.