doubleValue property
double?
doubleValue
Implementation
double? get doubleValue {
try {
// 某些地区的数字键盘, 小数点是逗号
return double.tryParse(replaceAll(',', '.'));
} catch (e, s) {
L.w('字符串 $this 解析double过程出错, 要检查一下是否业务逻辑是否有问题!, $s');
return null;
}
}