2 ms·
Tangent for those who are unfamiliar with the Indian number system - “lakh” means 100 thousand. “Crore” means 100 lakh (what we call “10 million” in the West).
by umanwizard 7y ago
Tangent for those who are unfamiliar with the Indian number system - “lakh” means 100 thousand. “Crore” means 100 lakh (what we call “10 million” in the West).
This illustrates why naive number-formatting code that doesn’t take locale into account is wrong. The same number is written 20,000,000 in the US, 20.000.000 in most of continental Europe, and 2,00,00,000 in India.
I formerly worked on a now-defunct Indian e-commerce site, and many of my fellow developers (and me) were Westerners with little exposure to Indian culture. It was relatively common for new employees to file a “bug” pointing out that the site was formatting large numbers “wrong”, not realizing that it was correct for India.