Hi,

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

thx's

--
Mike<mickalo>Blezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://www.thunder-rain.com
Quality Web Hosting
http://www.justlightening.net
MSN: [EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>James Edward Gray II wrote:
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