Ceiling Function Calculator
Round a number up to the nearest integer.
The ceiling function rounds any number up to the next whole number.
The math behind it
⌈x⌉ is the smallest integer that is greater than or equal to x. For integers, the ceiling is the number itself.
Worked example
⌈4.2⌉ = 5, and ⌈−4.2⌉ = −4.
FAQ
How does it treat negatives?
It rounds toward positive infinity, so ⌈−4.2⌉ = −4.