Hi,

I want to make a pdl which stores mjds (Mean Julian Day).
If I do:

$mjd=double(54539.247647,54539.2507226);
print $mjd;

I get [ 54539.248  54539.251]

How do I retain the precision to several decimal places. Isn't double 
supposed to do that?

Thanks.
-ashish

Ashish Mahabal, Caltech Astronomy, Pasadena, CA 91125
http://www.astro.caltech.edu/~aam aam at astro.caltech.edu

'Calm down -- it's only ones and zeros.'

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to