Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1 View

question about reading double precision values from text files

I am having Microsoft excel write Double values to a text file so fortran can read them from the file.

double precision :: x

READ(unitnumber, * ) x

Does is matter if the text file contains 1.23  1.23E0 or 1.23D0 ?

 

0 Kudos
2 Replies
Highlighted
Black Belt
1 View

No, it does not matter.

No, it does not matter.

Steve (aka "Doctor Fortran") - https://stevelionel.com/drfortran
0 Kudos
Highlighted
Beginner
1 View

Thanks, Steve.  That's what I

Thanks, Steve.  That's what I was finding from some hasty testing, and it's comforting to have it confirmed.

0 Kudos