Re: reading in int and real values



In article <zrq8f.8836$tV6.5947@xxxxxxxxxxxxxxxxxxxxxxxxxx>,
Tim Prince <tprince@xxxxxxxxxxxxxxxxxx> wrote:
>adebayo.alabi@xxxxxxx wrote:
>> Hi,
>> I would like to read in the following (mixed) numbers:
>>
>> 1
>> -7.5353456456
>> 1
....
>Try F12.0, or a G or list-directed format.

And if all 11 of those significant figures matter, make sure the
variable that's being read is double or higher precision unless
your default real has precision that good. (Many don't.)

John Harper, School of Mathematics, Statistics and Computer Science,
Victoria University, PO Box 600, Wellington, New Zealand
e-mail john.harper@xxxxxxxxx phone (+64)(4)463 5341 fax (+64)(4)463 5045
.