Ceiling()

Determines the closest integer that is greater than a specified number.

Ceiling( number=number );

Returns: Number

Argument Description
number
number, required

A real 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