Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 about the Monastery: (5)
As of 2014-11-01 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (227 votes), past polls