Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 contemplating the Monastery: (5)
As of 2014-08-30 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (289 votes), past polls