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

Home » Public Forums » archive » Re: Leading zeros in Format
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: Leading zeros in Format [message #35892] Wed, 23 July 2003 09:23
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Moe MOMAYEZ wrote:
>
> How do you tell FORMAT to put zeros before an interger as in 0015?
> Thanks!

IDL> print, format='(i5.5)',15
00015
IDL> print, format='(i5.4)',15
0015
IDL> print, format='(i5.3)',15
015
etc.

--
Paul van Delst
CIMSS @ NOAA/NCEP/EMC
Ph: (301)763-8000 x7748
Fax:(301)763-8545
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Leading zeros in Format
Next Topic: Re: about replicate_inplace

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

Current Time: Fri Oct 10 11:44:29 PDT 2025

Total time taken to generate the page: 1.04442 seconds