Skip to main content

ceil

ceil (num)

The ceil function returns the closest integer greater than or equal to num.

The result for INF and NAN is undefined.

See Also

round, floor, trunc