At 11:53 AM 2/14/01 -0000, Alloun, Jonathan wrote:
>
> Hello, Is there a function out there that will enable me to round up a
>number???? i.e. 0.93495959 would become 1 Thanks in advance,
Jonathan
Not as short as a simple function call, but works:
$x = 2.01;
$y = ($x == int($x) ? $x : int($x) + 1);
-Bennett
[EMAIL PROTECTED] http://www.peacefire.org
(425) 649 9024
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users