cfdocs

ceiling

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

ceiling(number)
returns numeric

Argument Reference

Name Type Required Default Description
number numeric Yes   The number for which to get the ceiling

Ceiling of 1.1

ceiling(1.1)

Expected Result: 2

Ceiling of 1

When ceiling an integer the result is equal to the value passed

ceiling(1)

Expected Result: 1