The floor function rounds down to the nearest integer. For example, and (down means toward negative infinity).
Integer division is floor division for positive numbers. When you compute , you get , the same as integer division.
Watch out for negative numbers. , not . Different languages handle this differently, so check the documentation.