Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: anything li...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 9 Topic 5442 of 6457
Post > Topic >>

Re: anything like sprintf?

by "Haje Korth" <haje.korth@[EMAIL PROTECTED] > Feb 18, 2008 at 08:20 AM

Try format code format='(i2.2)'

Haje


"Yann Zoll" <y_z2000@[EMAIL PROTECTED]
> wrote in message 
news:fpbpsb$tlp$1@[EMAIL PROTECTED]
> Hi newsgroup.
>
> I just wonder if there is any good looking way to do apply a preceding
> zero to a string if value is less than 10.
> To build a time string from integer values of hour, minute, second.
> In perl there is the sprintf command to do this. Is there anything like
> this in IDL?
>
> Thx, Yann
 




 9 Posts in Topic:
anything like sprintf?
Yann Zoll <y_z2000@[EM  2008-02-18 12:28:10 
Re: anything like sprintf?
Spon <christoph.blau@[  2008-02-18 03:43:31 
Re: anything like sprintf?
david <david@[EMAIL PR  2008-02-18 12:43:48 
Re: anything like sprintf?
Lasse Clausen <lasse@[  2008-02-18 04:40:37 
Re: anything like sprintf?
Yann Zoll <y_z2000@[EM  2008-02-18 13:56:28 
Re: anything like sprintf?
Lasse Clausen <lasse@[  2008-02-18 05:35:41 
Re: anything like sprintf?
Yann Zoll <y_z2000@[EM  2008-02-18 14:52:37 
Re: anything like sprintf?
"mgalloy@[EMAIL PROT  2008-02-18 09:11:42 
Re: anything like sprintf?
"Haje Korth" &l  2008-02-18 08:20:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 0:10:28 CST 2008.