Think about Loose Coupling | |
PerlMonks |
Re: Rounding off numbersby salva (Canon) |
on Apr 20, 2006 at 14:29 UTC ( [id://544609]=note: print w/replies, xml ) | Need Help?? |
You can use int instead of POSIX::floor if you don't need to round negative numbers. Anyway, read the docs for the int operator in perlfunc man page.
In Section
Seekers of Perl Wisdom
|
|