On Nov 13, 2003, at 9:50 AM, Bob Showalter wrote:

Mike Blezien wrote:
Hi,

Ran accross a function called "ceil" and from the information I got
on this:

"ceil() [Stands for ceiling], it just rounds a float value up.. so
ceil(4.7) == ceil(4.1342) == 5"

would this be the same as using "int" function in perl

No. int() simply drops the fractional part.

ceil() is often presented with a sister function called floor(). That would be the same as Perl's int().


James


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



Reply via email to