NumberFormat.compactLong constructor

NumberFormat.compactLong({String locale })

A number format for "long" compact representations, e.g. "1.2 million" instead of of "1,200,000".

Implementation

factory NumberFormat.compactLong({String locale}) {
  return new _CompactNumberFormat(
      locale: locale,
      formatType: _CompactFormatType.COMPACT_DECIMAL_LONG_PATTERN);
}