How to use
- Enter a number in the number field.
- Choose a locale from the dropdown (e.g. en-US, de-DE) or type any BCP 47 tag in the override field.
- Select a style: decimal, currency, percent, or unit.
- For currency style pick a currency code; for unit style pick a unit such as kilometer-per-hour.
- Adjust min and max fraction digits to control decimal precision.
Examples
- Entering 1234567.89 with locale de-DE and style decimal produces 1.234.567,89.
- Entering 0.0523 with locale en-US, style percent, and 1 max fraction digit produces 5.2%.