format method

String format(
  1. Decimal number
)

Format number according to our pattern and return the formatted string.

Implementation

String format(Decimal number) => numberFormat.format(_DecimalIntl(number));