Replaces atof by strtod