Skip to main content

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​

InputTypeRequiredDefaultWhat it is
ValueNumberYesNumber to write.
LocaleStringNoen-USLocale, e.g. en-US, de-DE, en-IN.
DecimalsNumberNoFixed decimal places; keeps the number's own decimals when empty.
GroupingBooleanNotrueUse a thousands separator.

Outputs​

OutputTypeWhat it is
resultStringFormatted number.