toDouble function Null safety
- String str
convert the input to a float, or NAN if the input is not a float
Implementation
double toDouble(String str) {
return toFloat(str);
}
convert the input to a float, or NAN if the input is not a float
double toDouble(String str) {
return toFloat(str);
}