getType method

String getType()

Return the type of formatter. Valid values are "number", "currency", and "percentage".

Implementation

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