NumExt extension
- on
Properties
Methods
-
toGrouped(
[String separator = ',']) → String -
Available on num, provided by the NumExt extension
Convert to a grouped string (e.g.1234567
->1,234,567
). -
toReadable(
[int fractionDigits = 1, bool forceFraction = false]) → String -
Available on num, provided by the NumExt extension
Convert to a human-readable string (e.g.1234
->1.2K
).