Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2016-06-26 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (328 votes). Check out past polls.