util/num_util library
Functions
-
floatsEqual(
double f1, double f2) → bool -
getJsonDoubleNumber(
double? value, [double defaultValue = 0.0]) → double - 获取json格式下的double number, 如果当前number的值为null或nan,就返回默认值 或 0.0
-
isDoubleNan(
double f1) → bool