Skip to main content

Overview

The format-currency-locale transformation formats a number as currency using a locale variable.

Syntax

format-currency-locale(<variable>, locale=<locale-variable>)

Parameters

ParameterTypeRequiredDescription
variablenumberYesThe number to format as currency
localestringYesThe locale variable (e.g., “en-US”, “fr-FR”)

Examples

format-currency-locale(<variable>, locale=<locale-variable>)
For formatting with both locale and currency code, see Format Currency with Locale and Currency.