atof method

double atof(
  1. String str
)

Converts a string to a double, stopping at the first invalid character.

Implementation

double atof(String str) {
  return strtod(str);
}