truncate method

BigInt truncate()

Discards the fractional part of this Rat.

Implementation

BigInt truncate() {
  return n ~/ d;
}