IntExtension extension

on

Methods

formatDoubleFromAmount(dynamic scale) double

Available on int, provided by the IntExtension extension

Converts the int into a double, dividing by 10^scale.
parseIntIntoAmount() String

Available on int, provided by the IntExtension extension

Formats the int into a human-readable amount with spaces as thousands separators.