Bastian Angerstein [BA], on Wednesday, February 16, 2005 at 13:28
(+0100) wrote the following:


BA> I have some Numbers  1 2 3 40 51 and I want them to be in the format
BA> 001 002 003 ... 040 ... 051 ...

perldoc -f printf
perldoc -f sprintf

printf("%03.d", 50);

-- 

 ...m8s, cu l8r, Brano.

[She wanted a fur coat so he got her a trap and a gun.]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to