
floor - round-off

Calling sequence:
floor(expr)

Parameter:

expr   --  expression

Summary:

floor returns the largest integer that is smaller than or equal to the one
given by expr. If expr is a complex number then an error is returned. if the
argument cannot be evaluated to a number, floor returns the unevaluated
function call.

If the exponents of real numbers are too large then a call of floor can lead
to a loss of accuracy which is not identified as an error. floor is a converting
function of the kernel.

>>  floor(1.2);

     1

>>  floor(-8/3);

     -3

>>  floor(x+3/2);

      floor(x + 3/2)

See also:  ceil, round , frac, trunc

