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

Home » Public Forums » archive » IDL code - problem to convert string to float
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 code - problem to convert string to float [message #86710 is a reply to message #86707] Fri, 29 November 2013 05:49 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
capercas@topo.upv.es writes:

> The code is not mine, and I do not know how to fix this problem.

Well, you need to match the type of data you are printing with the
proper format code. The format code for strings is "A" not "I", which is
the format code for integers. Try looking up "format codes" in the IDL
on-line help.

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
Previous Topic: VERT_COLORS Problem
Next Topic: IDL environment "idlde" doesn't work

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

Current Time: Sun Nov 30 21:02:00 PST 2025

Total time taken to generate the page: 0.15829 seconds