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

Home » Public Forums » archive » anything like sprintf?
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
anything like sprintf? [message #58821] Mon, 18 February 2008 03:28
Yann Zoll is currently offline  Yann Zoll
Messages: 4
Registered: February 2008
Junior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: image statistics without the NaN
Next Topic: Re: anything like sprintf?

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

Current Time: Thu Oct 09 07:23:11 PDT 2025

Total time taken to generate the page: 1.11947 seconds