DoubleNumExten extension

on

Methods

kformat({int digits = 0, num defValue = 0}) num

Available on double?, provided by the DoubleNumExten extension

格式化 digits保留小数点位数,自动四舍五入
kformatStr({NumFormat format = NumFormat.def}) String

Available on double?, provided by the DoubleNumExten extension

格式化