XP is just a number | |
PerlMonks |
Re: Re: Zero Padding to the Right of the Decimalby KPeter0314 (Deacon) |
on Jan 15, 2004 at 19:09 UTC ( [id://321638]=note: print w/replies, xml ) | Need Help?? |
I agree whole-heartedly, the number probably shouldn't be baked into a format until you plan to display it. <insert standard disclaimer about being appropriate for the rest of your script and your coding style> So it might look like this with only one print/printf/sprintf:
-Kurt
In Section
Seekers of Perl Wisdom
|
|