Don't ask to ask, just ask | |
PerlMonks |
Re: round up digits in numbersby quester (Vicar) |
on Dec 05, 2008 at 07:35 UTC ( [id://728209]=note: print w/replies, xml ) | Need Help?? |
You want the printf function.
For example: See sprintf for details of the first argument to printf.
In Section
Seekers of Perl Wisdom
|
|