₹100,000 Is Wrong: Formatting Indian Currency in JavaScript
Here's a line that has shipped to production in more Indian products than I'd like to think about:
new Intl.NumberFormat('en-US', {
style: 'currency',
currency: 'INR',
}).format(100000);
// → "₹10
monu-kumar.hashnode.dev9 min read