1 2 3 4 5 6 7 8 9
#include "compiler/ScanFloat.h" char *ScanFloat(const char *str, double *result, Boolean *failed) { char *end; *result = strtod(str, &end); *failed = 0; return end; }