Re: reading in int and real values
- From: Madhusudan Singh <spammers-go-here@xxxxxxxxxxxx>
- Date: Fri, 28 Oct 2005 09:48:21 -0400
adebayo.alabi@xxxxxxx wrote:
> Hi,
> I would like to read in the following (mixed) numbers:
>
> 1
> -7.5353456456
> 1
> -6.5435346666
> 1
> 0.029633
> -0.1
> 0.18363636
> ...
>
> I have tried to read the numbers using the following formats but got
> ugly outputs:
>
> FORMAT(F12.4)
> AND
> FORMAT(E12.6)
>
> Does anyone know hoe to read these numbers accurately?
> Regards.
How about
read(1,*) number ?
.
- References:
- reading in int and real values
- From: adebayo . alabi
- reading in int and real values
- Prev by Date: reading in int and real values
- Next by Date: Re: IMPLICIT NONE (F2k8+/-)
- Previous by thread: reading in int and real values
- Next by thread: Re: reading in int and real values
- Index(es):
Relevant Pages
|