Loading

FLOORDIV


math
Since v1.2.23
Available on all platforms
See also

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.

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