Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 having an uproarious good time at the Monastery: (14)
As of 2014-12-18 18:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (59 votes), past polls