my $num = 5;
What's the easiest way to make $num = 05 instead of 5? Can I do this with sprintf?
Thanks
Jeremy
edited: Mon Sep 9 00:22:18 2002 by jeffa - title change
In reply to Zero padding numbers (was: Ok, here's an easy one) by glickjd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |