CurrencyFormatter.currency
Property Description |
Describes the currency code. |
Type |
string (read-only) |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2019.2 |
Syntax
Important:
The following code snippet shows the syntax for this member. It is not a functional example. For a complete script example, see N/format/i18n Module Script Samples.
// Add additional code
...
var curFormatter = format.getCurrencyFormatter({
currency: "USD"
});
var curCur = curFormatter.currency; // curCur is 'USD'
...
// Add additional code