Floor Division Calculator
Divide and round the result down to a whole number.
Floor division gives the whole-number part of a division, rounding toward negative infinity.
The math behind it
a // b = ⌊a ÷ b⌋. The matching remainder is a − b·(a // b), which always has the same sign as the divisor.
Worked example
17 // 5 = 3, remainder 2.
FAQ
How does it handle negatives?
−17 // 5 = −4 (rounded down), not −3.