toDouble function

double toDouble(
  1. 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);
}