Format number
Format a number as text with thousands separators and fixed decimals, e.g. 1,234.50.
Command in the Number toolkit · id ooa.number/format · 4 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Value | Number | Yes | Number to format. | |
| Decimals | Number | No | 2 | Decimal places. |
| Thousands separator | Boolean | No | true | Group thousands. |
| Locale | String | No | en-US | Locale for separators, e.g. en-US, de-DE, en-IN. |
Outputs
| Output | Type | What it is |
|---|---|---|
| text | String | Formatted text. |