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

Home » Public Forums » archive » Re: Converting Strings to Floating Point Numbers
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Converting Strings to Floating Point Numbers [message #66743] Wed, 10 June 2009 16:42
Rachel is currently offline  Rachel
Messages: 6
Registered: June 2000
Junior Member
On Jun 10, 4:14 pm, wlandsman <wlands...@gmail.com> wrote:
> On Jun 10, 5:38 pm, Rachel <lotsofche...@gmail.com> wrote:
That does it!
Thanks
Josh
>
>> Hello All,
>
>> Is it possible to test whether or not a string can be successfully
>> converted into a floating point number besides using float and seeing
>> if an error occurs?
>
>> Thanks,
>> Josh
>
> You might look at valid_num.pro (http://idlastro.gsfc.nasa.gov/ftp/pro/misc/valid_num.pro
> )
>
> --Wayne
Re: Converting Strings to Floating Point Numbers [message #66744 is a reply to message #66743] Wed, 10 June 2009 15:14 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Jun 10, 5:38 pm, Rachel <lotsofche...@gmail.com> wrote:
> Hello All,
>
> Is it possible to test whether or not a string can be successfully
> converted into a floating point number besides using float and seeing
> if an error occurs?
>
> Thanks,
> Josh

You might look at valid_num.pro ( http://idlastro.gsfc.nasa.gov/ftp/pro/misc/valid_num.pro
)

--Wayne
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Converting Strings to Floating Point Numbers
Next Topic: Re: Workbench Question

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

Current Time: Wed Oct 08 20:04:35 PDT 2025

Total time taken to generate the page: 0.33406 seconds