The CF function you are looking for is
ceiling()

Joseph DeVore
VeloxWeb Technologies


-----Original Message-----
From: Benjamin Falloon [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 26, 2001 7:56 PM
To: CF-Talk
Subject: Rounding a value UP


Hi all,

Who knows the function for rounding UP to the nearest number?
Eg. If I have the number 2.333333 etc, what's the CF syntax for rounding
this number UP to 3 (instead of  down to 2)?

Thanks in advance,

Benjamin Falloon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to