Ceil
Round up to nearest integer. 2.1 → 3, -1.9 → -1.
Block
Interactive preview is available in the interactive reader.
Parameters
input- Any number. Output is the smallest integer ≥ input.
How it works
Ceil always rounds toward positive infinity. Useful for ensuring minimum counts or quantizing upward.