Standard Library FunctionsConverting atof Converting a string variable to a floating point number. Call: double dresult = atof(string value); Here: svalue is a number written as text, the return value is a floating point number.