Formats the number in a compact form with the given locale.
locale
String formatAsCompact({String? locale}) { return NumberFormat.compact(locale: locale).format(this); }