in reply to
Decimal Removal
The floor function is basically
int()
and therefore ceiling is
int()+1
. But as perlfunc says '...sprintf, printf, or the POSIX::floor and POSIX::ceil functions will serve you better than will int()'.
Comment on
Re: Decimal Removal
Select
or
Download
Code
In Section
Seekers of Perl Wisdom