On Nov 17, 2003, at 1:24 AM, R. Joseph Newton wrote:

Mike Blezien wrote:

So if I use the int() this will provide the same results as this ceil() function
does... ??

Nope. Same as floor(). If you want to round, use: my $rounded = int ($float_value + 0.5);

Please read the rest of the thread before adding to it. This was covered in several messages four days ago.


int() != floor()

James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to