Ceiling()
Determines the closest integer that is greater than a specified number.
Ceiling( number=number );
Returns: Number
Examples
The following code example will output an example numbers returned from the ceiling() function.
<cfoutput>
1.2: #ceiling(1.2)#<br> <!--- 1.2: 2 --->
1.5: #ceiling(1.5)#<br> <!--- 1.5: 2 --->
1.7: #ceiling(1.7)#<br> <!--- 1.7: 2 --->
</cfoutput>
See also
- Numbers
- Math
- numeric.ceiling()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)