>From the documentation:

----------
<HTML>
<HEAD>
<TITLE>Ceiling Example</TITLE>
</HEAD>

<BODY BGCOLOR=silver>
<H3>Ceiling Example</H3>

<CFOUTPUT>
<P>The ceiling of 3.4 is #ceiling(3.4)#
<P>The ceiling of 3 is #ceiling(3)#
<P>The ceiling of 3.8 is #ceiling(3.8)#
<P>The ceiling of -4.2 is #ceiling(-4.2)#
</CFOUTPUT>

</BODY>
</HTML>       
------------


Does this help?

Jared Clinton.

-----Original Message-----
From: Benjamin Falloon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 27 November 2001 1: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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to