getStyle method

String getStyle()

Return the style that was used to construct this number formatter object.
Valid values are for "currency": "common" (symbol) or "iso" (ISO code).
for "number": "standard", "scientific", "native", or "nogrouping".

Implementation

String getStyle() {
  String result = '';
  final String formatOptions = toJsonString();
  final String jscode1 = 'new NumFmt($formatOptions).getStyle()';
  result = ILibJS.instance.evaluate(jscode1).stringResult;
  return result;
}