atof() is the C runtime library function for converting the ASCII representation of a number to a floating point double.