Okay, I tried F20.10, and it printed out the following:
318772740 A E -5585578.0000000000 ********** **********
It can't seem to read in the digits to the right of the decimal point.
Hi,
I'm trying to read in from a text file the following sequence
100 A B -5585577.906775479
I've tried reading it using the following format:
10 FORMAT(I3,1X,A1,1X,A1,1X,F10.10)
and writing it using the following command:
READ(2,10) A,B,C,D
WRITE(*,10) A,B,C,D
However, upon output, it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.