truncate method

Rational truncate()

Returns the integer value obtained by discarding any fractional digits from this num.

Implementation

Rational truncate() => Rational._normalized(numerator ~/ denominator, _i1);