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

Home » Public Forums » archive » IDL number output format problem?
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
IDL number output format problem? [message #53857] Fri, 04 May 2007 12:57
lixiaoyao is currently offline  lixiaoyao
Messages: 49
Registered: April 2005
Member
Hi all
I know it is a stupid question, but I just can not figure it out.
Does anyone happen to know how to format one or a few of output
numbers? Like I want one number has two number after the point, like
9.45 istead of 9.453678.
Thanks in advance
for i=0,n do printf, lun, F[i,0],F[i,1],(F[i,2],Format='(f9.2)'),F[i,
3],F[i,4],F[i,5],F[i,6],F[i,7],F[i,8],F[i,9],F[i,11],F[i,12]
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: variables in common blocks
Next Topic: Re: IDL number output format problem?

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

Current Time: Wed Oct 08 18:40:31 PDT 2025

Total time taken to generate the page: 0.00473 seconds