Number to text
Write a number as plain text, with fixed decimals or a pattern such as 0000 or #,##0.00.
Command in the Number toolkit · id ooa.number/to_text · 4 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Value | Number | Yes | Number to write. | |
| Decimals | Number | No | Fixed decimal places (rounded half up). | |
| Pattern | String | No | Pattern with 0 for required digits and # for optional ones, e.g. 00000 or #,##0.00. | |
| Rounding | String | No | half_up | How extra decimals are dropped: rounded half up, or cut off (truncated). |
Outputs
| Output | Type | What it is |
|---|---|---|
| text | String | The number as text. |