Tag Link | [Currency] | Category | Math |
---|---|---|---|
Type | Substitution | Source Available | Yes |
Support | Preferred | Version | 7.0 |
Change | Unchanged | Data Source | Any |
Output Type | String | Security | Tag |
Implementation | LDML | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0 |
The [Currency] tag formats a number according to the preferences of a specific region or country. By default it formats currency according to the United States standard.
The tag requires three parameters. The first should be a decimal value. The second should be a language code and the third should be a country or region code. See the [Locale_Format] tag for a list of country and region codes.
[Currency: Numeric Value]
[Currency: Numeric Value, Language Code, Country Code]
Required Parameters | |
---|---|
Country Code | The country code for the desired formatting. |
Language Code | The language code for the desired formatting. |
Decimal Value | The decimal value to be formatted. |
Note: The separate parameters for language and country code were introduced in Lasso Professional 7.0.2. In prior versions the language and country code could be specified as a name/value pair [Currency: 1.00, 'LC'='CC']. This alternate method is still supported in Lasso Professional 7.0.2.
See the Lasso 8 Language Guide for examples of how to use this tag.