We don't bite newbies here... much | |
PerlMonks |
Re: Decimal Removalby gumby (Scribe) |
on Jun 19, 2002 at 13:37 UTC ( [id://175671]=note: print w/replies, xml ) | Need Help?? |
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()'.
In Section
Seekers of Perl Wisdom
|
|