![]() |
|
P is for Practical | |
PerlMonks |
Re: number formattingby nardo (Friar) |
on Aug 08, 2001 at 18:57 UTC ( #103072=note: print w/replies, xml ) | Need Help?? |
Using %010d in printf or sprintf will 0 pad them to a length of 10 (the leading 0 will pad them with zeroes and the remainder of the number is the length).
In Section
Seekers of Perl Wisdom
|
|