How to Change the Currency Format to Indian or Pakistani Style in RealHomes
Some of our clients prefer to display prices in their local currency format—such as Indian or Pakistani style
(e.g., ₹25,00,000 instead of $250,000). RealHomes offers an easy way to customize this using a simple code snippet.
Step 1: Update the Currency Format
To apply the Indian/Pakistani currency format, add the following code to your theme’s functions.php file:
This will modify the number grouping and symbol placement to better match formats like:
- ₹25,00,000 (instead of 2,500,000)
- PKR 1,20,000 (instead of 120,000)
Optional: Display Currency in Words (e.g., Lacs, Crores)
If you’d like to display prices in words—for example, 2 Lacs or 5 Crores—you can also add
the following snippet to the end of your functions.php file:
This is useful in markets where currency is often communicated using terms like “Lacs” or “Crores” instead of large numbers.
Need Help?
If you need further assistance customizing the currency format or have other queries, please
sign up on our support platform and create a new ticket. Our team is always happy to help!