Floor division is a normal division operation except that it returns the largest possible integer. This integer is either less than or equal to the normal division result.
Floor function is mathematically denoted by this
Let’s understand this concept through the slides below:
Several programming languages have a specific built-in
operator for calculating floor division.
floor()method is used in C++
Math.floor()is used in Java
//operator is used in Python