getCurrency method

String getCurrency()

Return the currency that is legal in the locale or most commonly used in commerce.

Implementation

String getCurrency() {
  final String jscode1 = 'new LocaleInfo("$locale").getCurrency()';
  final String result = ILibJS.instance.evaluate(jscode1).stringResult;
  return result;
}