Number to locale text
Write a number as text using the separators of a locale, e.g. 1.234,5 for de-DE.
Command in the String toolkit · id ooa.string/to_locale_number · 4 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Value | Number | Yes | Number to write. | |
| Locale | String | No | en-US | Locale, e.g. en-US, de-DE, en-IN. |
| Decimals | Number | No | Fixed decimal places; keeps the number's own decimals when empty. | |
| Grouping | Boolean | No | true | Use a thousands separator. |
Outputs
| Output | Type | What it is |
|---|---|---|
| result | String | Formatted number. |