Test JavaScript's Intl.NumberFormat with live locale, style, and digit options. Compare the same value across many locales, inspect each formatted token via formatToParts, and copy a ready-to-use options object.
{}
Same value, same options, 15 representative locales.
| Locale | Formatted |
|---|
Intl.NumberFormat is the browser's built-in locale-aware number formatter — the same engine that
powers toLocaleString(). It handles digit grouping, currency symbols, percent signs, scientific and
compact notation, and numbering systems beyond Latin digits, all without shipping a kilobyte of code. The options
here mirror the spec: pick a style (decimal, currency, percent, unit), a notation
(standard, scientific, engineering, compact), and constrain fraction or significant digits. Rounding modes match
the IEEE 754 catalog. Output runs entirely in your browser's ICU data — nothing leaves the page.