Skip to main content
Applies number formatting to the input, so a raw number becomes a neatly formatted one with a fixed number of decimal places, your chosen decimal mark, and an optional separator between thousands. Use this when a target system expects prices or quantities written a specific way, for example 1,234.50 for English-language invoices or 1.234,50 for many European formats. The result is text, so it keeps exactly the formatting you chose, and the value is rounded to fit the number of decimals you set.

Fields

Sample data

FieldValue
Number of decimals2
Separator for the decimal point.
Separator for the thousands separator,
Input:
{ "price": "1234.5" }
Output:
{ "price": "1,234.50" }