IDL question... [message #10694] |
Thu, 15 January 1998 00:00  |
Inigo Garcia
Messages: 13 Registered: June 1997
|
Junior Member |
|
|
Hi:
Floating-point: A 32-bit, single-precision, floating-point number in the
range
of �10^38, with approximately six or seven decimal places of
significance.
------------------------------------------------------------ ---
(IDL Online Help)
So, the only thing you have to modify is x=dblarr(4,36), and run it !!
Cheers,
I~nigo.
Haoran Wang wrote:
>
> I have such kind of code.The purpose of this code is to read data from
> file into a matrix.
> openu,1,'cod10.dat'
> x=fltarr(4,36)
> readf,1,x
>
> The numbers of the data file is like this:xxxxxx.xx.but when I check the
> x matrix,I found that the digits below the point are lost(cut).I only
> get number like:xxxxx.(. means point)
>
> how does this happens?
> thanks
--
\\|//
(o o)
+-----------------------oOOo-(_)-oOOo----------------------- --+
| I~nigo Garcia Ruiz |
| Kapteyn Instituut Phone: +31-(0)50-3634083 |
| Landleven 12 Fax: +31-(0)50-3636100 |
| 9747 AD GRONINGEN (Netherlands) e-mail: iruiz@astro.rug.nl |
+----------------------------------------------------------- --+
|
|
|