good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: front-pad a number with zero'sby Anonymous Monk |
on Jun 13, 2008 at 08:40 UTC ( [id://691859]=note: print w/replies, xml ) | Need Help?? |
You are a genius! Where did you get this sprintf "%0${len}d", $number; It's saved me a lot of troubles.
06-13-2008
Thank you.
In Section
Cool Uses for Perl
|
|