kparseDouble method

double kparseDouble({
  1. int digits = 0,
  2. double defValue = 0,
})

数字字符串转double

Implementation

double kparseDouble({int digits = 0, double defValue = 0}) =>
    double.tryParse(this ?? defValue.toString()) ?? defValue;