Loading

FLOORDIV

math

The FLOORDIV function consumes two NUMBER values, convert them to LONGs and pushes back largest LONG value that is less than or equal to the algebraic quotient.

Since 2.6.0, this function can be applied to a list of numeric values.

FLOORDIV is available since version 1.2.23.

See also

Signature

Examples

// The signs of the arguments are the same, the results are the same for / and FLOORDIV 1337 42 / 1337 42 FLOORDIV // The signs of the arguments are different, the results are different for / and FLOORDIV 1337 -42 / 1337 -42 FLOORDIV