Err yah, what Ben said - use int() - will round to lowest integer.

I said to use min(), which you know from PHP gives you the lowest of two
values. :)

Adam.


> -----Original Message-----
> From: Ben Doom [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 02, 2002 1:12 PM
> To: CF-Community
> Subject: RE: Math.Pow equiv?
> 
> 
> I don't know about exponentiation, but for floor you can use int() to
> truncate the number.
> 
> 
> 
>   --Ben Doom
>     Programmer & General Lackey
>     Moonbow Software
> 
> : -----Original Message-----
> : From: Critz [mailto:[EMAIL PROTECTED]]
> : Sent: Monday, December 02, 2002 1:09 PM
> : To: CF-Community
> : Subject: Math.Pow equiv?
> :
> :
> : oi CF-Community,!!
> :
> :   is there a Cf equiv for this and what about Math.floor?
> :
> :
> :   Crit
> :
> :
> : 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to