//convert string to double double integer_val=atof("23"); double float_val=atof("45.89"); double end_with_string=atof("23.23 and More"); double scientific=atof("2.3e+4");