Welcome to the Monastery | |
PerlMonks |
Re: Zero Padding to the Right of the Decimalby jmcnamara (Monsignor) |
on Jan 15, 2004 at 16:19 UTC ( [id://321599]=note: print w/replies, xml ) | Need Help?? |
On this line you are converting the number to a string: But on the following line you convert it back to a number*: So either do the increment before you do the sprintf or else just use printf:
--
In Section
Seekers of Perl Wisdom
|
|