Skip to main content

Overview

The format-number transformation formats a number according to specified formatting options.

Syntax

format-number(<variable>, format="")

Parameters

ParameterTypeRequiredDescription
variablenumberYesThe number to format
formatstringYesThe format pattern (e.g., “0.00”, ”#,##0”)

Examples

format-number(<variable>, format="0.00")
format-number(<variable>, format="#,##0")