floor(num)

Round a number to the nearest $ <= $ integer.

floor(2.1)
numThe input.
return valueThe nearest, but smaller 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.

floor(2)