"be consistent" | |
PerlMonks |
Re: limit of for loop!!by flexvault (Monsignor) |
on Jan 02, 2012 at 17:11 UTC ( [id://945934]=note: print w/replies, xml ) | Need Help?? |
You could use 'sprintf' as part of the loop. Adds some time, but maintains your 3 digits of precision.
Hint: Try to think of your numbers as '$n' or '$s' and not '$a'. You'll understand in the future. Good Luck "Well done is better than well said." - Benjamin Franklin
In Section
Seekers of Perl Wisdom
|
|