laziness, impatience, and hubris | |
PerlMonks |
Re: How do I print/round a number to a given number of decimal places?by vroom (His Eminence) |
on Jan 11, 2000 at 01:22 UTC ( [id://1947]=note: print w/replies, xml ) | Need Help?? |
Probably the easiest way is to use printf/sprintf:
In Section
Seekers of Perl Wisdom
|
|