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,00
Simply use below function to format in INR.
function amount_inr_format($amount) { $fmt = new \NumberFormatter($locale = 'en_IN', NumberFormatter::DECIMAL); return $fmt->format($amount); }