Re: reading in int and real values
- From: harper@xxxxxxxxxxxxx (John Harper)
- Date: 29 Oct 2005 09:53:46 +1300
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
.
- References:
- reading in int and real values
- From: adebayo . alabi
- Re: reading in int and real values
- From: Tim Prince
- reading in int and real values
- Prev by Date: Re: Debug my program please.
- Next by Date: Re: Dynamic String Problem - Please help me Fast
- Previous by thread: Re: reading in int and real values
- Next by thread: Re: reading in int and real values
- Index(es):