ceil(num)

Round a number to the nearest >= integer.

ceil(2.1)
numThe input.
return valueThe nearest, but greater or equal integer to the input.

The argument can be a real or complex number or a matrix. In case of complex numbers, the real and imaginary parts are handled separately. In case of matrices, the computation is elementwise.

Quantities are not suppored by this function.

ceil(2)