comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » addition
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
addition [message #39776] Mon, 14 June 2004 04:59
Thomas Ohde is currently offline  Thomas Ohde
Messages: 10
Registered: November 2000
Junior Member
Hi,

I have two values t1=38005.0 and t2=0.22919.

idl> t1=38005.0
idl> t2=0.22919
idl> print, t2
idl> 0.22919
idl> print, t1+t2
idl> 38005.2

Why not 38005.22919? Maby because t1 and t2 are float values?

idl> t3=DOUBLE(t1)
idl> t4=DOUBLE(t2)
idl> print, t3 + t4
idl> 38005.229

Why not 38005.22919 ?


Thanks a lot,
Thomas
[Message index]
 
Read Message
Previous Topic: Overplotting 50% lines
Next Topic: Re: Overplotting 50% lines

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 23:54:57 PDT 2025

Total time taken to generate the page: 1.51776 seconds