numeral function
Get a formated string on numeral.
value
Need parse num value.
The parameter fractionDigits
must be an integer satisfying.
example:
numeral(10000) // => 10K
Implementation
String numeral(num value, {int fractionDigits = DEFAULT_FRACTION_DIGITS}) =>
Numeral(value).format(fractionDigits: fractionDigits);