Returns the closest integer greater than a given number.
Ceiling(number)
Parameter |
Description |
---|---|
number |
A real number |
<!--- This example illustrates the CF function ceiling ---> <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>