-
numFormateThousand({int several = 2})
→ String
-
Available on String,
provided by the StringExt extension
超过1000的number转换成K为单位,小于1000返回原值
several:保留小数点后几位(默认保留1位--因为包含小数点,所以实际位数小数点后一位应该传2)
-
toDouble()
→ double
-
Available on String,
provided by the StringExt extension
-
toInt()
→ int
-
Available on String,
provided by the StringExt extension
-
toIntList()
→ List<int>?
-
Available on String,
provided by the StringExt extension
获取小于该数值的所有整数的一个数值数组
-
Available on String,
provided by the StringExt extension
去除小数点后多余的0