Overview
Theformat-currency-locale transformation formats a number as currency using a locale variable.
Syntax
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
variable | number | Yes | The number to format as currency |
locale | string | Yes | The locale variable (e.g., “en-US”, “fr-FR”) |
Examples
For formatting with both locale and currency code, see Format Currency with Locale and Currency.