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

Home » Public Forums » archive » Re: IDL refuse to acknowledge anything but integers...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL refuse to acknowledge anything but integers... [message #79717] Tue, 27 March 2012 08:26 Go to previous message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Tuesday, March 27, 2012 4:51:03 PM UTC+2, Julien wrote:
> Hello everyone.
>
> I encountered the weirdest bug I ever saw with IDL. I can't say
> exactly when it happened, but at some point a few hours ago, IDL
> stopped taking into account anything below one. Example:
>
> IDL> print,float(0.25)
> 0,00000
> IDL> print,0.25
> 0,00000
> IDL> print,-0.12
> -0,00000
> IDL> print,1.2
> 1,00000
> IDL> print,1.2d
> 1,0000000
>
> Please help, I'm going mad...

The output suggests that you have a decimal comma instead of a decimal dot. Try 'print, 1,23'

regards,
Lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TOTAL function
Next Topic: Time conversion for .nc file

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

Current Time: Fri Oct 10 08:31:11 PDT 2025

Total time taken to generate the page: 1.44072 seconds