![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
How do I round a floating point number?by vroom (His Eminence) |
on Feb 02, 2000 at 00:15 UTC ( #2671=CUFP: print w/replies, xml ) | Need Help?? |
You need to use sprintf or printf.
You might also want to take a look at floor and ceil
Back to
Cool Uses for Perl
|
|