DigitExtension extension
custom extension for num data type
- on
Methods
-
toCurrencyFormat(
{bool isMorethan2 = false}) → String -
Available on num, provided by the DigitExtension extension
converts number to thousand format with 2 dp e.g convert 1000 to 1,000.00 -
toThousandFormat(
) → String -
Available on num, provided by the DigitExtension extension
converts number to thousand format e.g convert 1000 to 1,000