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

Home » Public Forums » archive » Re: convert 003 and 033 to strings
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: convert 003 and 033 to strings [message #63607] Thu, 13 November 2008 00:41
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
On 13 nov, 07:51, abduwa...@gmail.com wrote:
> I need to keep the empty spaces 0 in a goup of numbers.
> I have numbers like 033, 003, 100, 344 etc, neet to convert them
> strings, but exactly same as them 033, 003 ....
> I tried Format but could not find the 'Magic Button'
>
> Thanks in advance

str=string([33, 3, 100, 344],format='(I03)')
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: convert 003 and 033 to strings
Next Topic: Re: array of Julian Days

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

Current Time: Wed Oct 08 19:17:58 PDT 2025

Total time taken to generate the page: 0.00486 seconds