floor method

int floor()

Calculates the highest integer less than or equal to this.

Implementation

int floor() {
  return nominator ~/ denominator;
}