[cross-posting to get views from both sides of the pond] Hi all. I have some trouble reading floating-point numbers written with the Fortran D-descriptor: $> cat dout.f90 write( *, FMT="(d13.5)") 3.1415 end $> gfortran dout.f90 -o dout && ./dout 0.31415D+01 Reading above number via [f]scanf in C: