Name

Ceiling

Synopsis

Ceiling(number)

Returns the closest integer greater than the number specified. Examples:

<CFOUTPUT>
-2.5: #Ceiling(-2.5)#<BR>
-1: #Ceiling(-1)#<BR>
-1.123: #Ceiling(-1.123)#<BR>
-0.123: #Ceiling(-0.123)#<BR>
0: #Ceiling(0)#<BR>
0.123: #Ceiling(0.123)#<BR>
1: #Ceiling(1)#<BR>
1.123: #Ceiling(1.123)#<BR>
2.5: #Ceiling(2.5)#
</CFOUTPUT>

Get Programming ColdFusion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.