Skip to main content

Overview

The format-currency-locale-currency transformation formats a number as currency using both locale and currency code variables.

Syntax

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

Parameters

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

Examples

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