Number2UnitString extension
- on
Methods
-
toUnitString(
{String? wUnitString, int wDecimalDigits = 1, String? kUnitString, int kDecimalDigits = 1}) → String -
Available on num, provided by the Number2UnitString extension
将数字转为含单位的字符串,如 221234 = 22.1w