Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: help needed in printing the numbers

by murugu (Curate)
on Apr 05, 2006 at 09:43 UTC ( #541318=note: print w/ replies, xml ) Need Help??


in reply to help needed in printing the numbers

use sprintf.

my $result = sprintf "%03d", $number;

Regards,
Murugesan Kandasamy
use perl for(;;);


Comment on Re: help needed in printing the numbers
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://541318]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2014-07-24 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls