ceiling

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

ceiling(number) → returns Numeric

Argument Reference for the ceiling function

number

Required: Yes

Examples sample code invoking the ceiling function


Ceiling of 1.1

ceiling(1.1)

Expected Result: 2


Fork me on GitHub