Converts a string to double-precision number.
#include <stdlib.h> double atof ( const char *ptr);
(IN) Points to the string to be converted.
Returns the converted value. A value of 0 is returned when the input string cannot be converted.