2026-03-13 06:31 UTC
Did you know that the mathematical value 1234.56 looks different in Boston, Berlin, and Bangalore? Hardcoding formats is a brittle and unsustainable approach to web design.
In our newest article, we break down how you can leverage JavaScript's native `Intl` API to effortlessly localize numbers, currencies, and units.
https://www.w3.org/International/questions/qa-number-format
Replies (3)
-
@edwiebe@scribili.masto.host 2026-03-23 20:10
@webi18n@w3c.social Don't forget 1 234.56.
-
@burningTyger@nrw.social 2026-03-23 20:20
@webi18n@w3c.social oh, should have seen this earlier today. Thanks for posting!
-
@wbpeckham@techhub.social 2026-03-23 22:28
@webi18n@w3c.social is that server-side or client-side JavaScript because I normally disable client-side JavaScript in my browsers?