Formatting numbers for locales

The toLocaleString function produces a string with a language-sensitive representation of the number.

Was this page helpful?