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 #86544 is a reply to message #86543] Mon, 18 November 2013 07:16 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
sara.magrin@gmail.com writes:

>
> Hi all,
> I have the same problem.
>
> I quit IDLDE and tried again.
> Both with IDLDE and command line I find everything correct at the beginning:
>
> IDL> PRINT,FLOAT('2.41e12'),' 2.41e12'
> 2.41000e+012 2.41e12
>
> but after the dialog_pickfile() it changes from floating-point to "floating-comma"
>
> IDL> files=DIALOG_PICKFILE()
> IDL> PRINT,FLOAT('2.43e12'),' 2.43e12'
> 2,00000 2.43e12
>
> How can I fix it?
> Is there a system variable to set for the floating-POINT?
>
> Anyway no problem if I call DIALOG_PICKFILE(/directory), instead.

Weird. Somehow a different language pack must be getting set. Does this
article give you any ideas?

http://www.idlcoyote.com/workbench/languages.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[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 16:49:54 PDT 2025

Total time taken to generate the page: 0.95602 seconds