Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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);


Comment on Re: Re: Ok, here's an easy one
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-08-30 02:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls