Modules

filter

 

Objects/Functions

module (N/format/i18n)

SuiteScript 2.0

CurrencyFormatter.currency

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=CurrencyFormatter.currency for more information.

N/format/i18n Module
CurrencyFormatter.currency
Property Description: Describes the currency code.
Type: string (read-only)
Module: N/format/i18n Module
Parent Object: format.CurrencyFormatter
Sibling Object Members: N/format/i18n Module Members
Since: 2019.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=CurrencyFormatter.currency

Example:

// Code Example 1
// Add additional code
//...
require(['N/format/i18n'],
function(format) {
var curFormatter = format.getCurrencyFormatter({currency: "USD"});
var curCur = curFormatter.currency;
log.debug(curCur);
});...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1558031127.html