Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Ok, here's an easy one

by I0 (Priest)
on Sep 09, 2002 at 03:13 UTC ( #196142=note: print w/replies, xml ) Need Help??


in reply to Re: Ok, here's an easy one
in thread Zero padding numbers (was: Ok, here's an easy one)

$num = substr("00".$num,-2);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://196142]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2018-07-23 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (468 votes). Check out past polls.

    Notices?