I have a list of numbers which looks like this: 1.234D+1 or 1.234D-02. I want to read the file using C. The function atof will merely
1.234D+1
1.234D-02
atof
replace D with E, by looping along string. then atof.