Simple format code issue. [message #69003] |
Wed, 09 December 2009 12:02 |
polystethylene
Messages: 28 Registered: February 2009
|
Junior Member |
|
|
This one should be a doddle to resolve; but I can't for the life of me
see what I'm doing wrong.
I have 2 columns of data like this:
5147.475098 0.987662
5147.476562 0.985164
5147.478516 0.975080
5147.479980 0.991375
5147.481445 0.982826
5147.482910 0.987368
etc...
I would normally read this in with a format code like this:
(2x,F0,3x,F0) - or sometimes drop the x's as you don't really need
them...
Anyway, this code reads the data in to 8 sig fig (1st column), and 6
sig fig (second column)
So then I tried a code of (F10.6, F0)... and I get the same issue - I
can't get more than 4 d.p precision...
I tried it with Doubles as well; but no luck. This has got to be
simple right? Format codes are a weakness of mine, so I'm totally
stumped.
Any ideas?
Cheers,
Stefan
|
|
|