Skip to main content

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​

InputTypeRequiredDefaultWhat it is
ValueNumberYesNumber to write.
DecimalsNumberNoFixed decimal places (rounded half up).
PatternStringNoPattern with 0 for required digits and # for optional ones, e.g. 00000 or #,##0.00.
RoundingStringNohalf_upHow extra decimals are dropped: rounded half up, or cut off (truncated).

Outputs​

OutputTypeWhat it is
textStringThe number as text.