StringNumExten extension

on

Methods

kparseDouble({int digits = 0, double defValue = 0}) double
数字字符串转double
kparseInt({int defValue = 0}) int
将数字字符串转int
kparseNum({int digits = 0, num defValue = 0}) num
将数字字符串转num,数字保留x位小数