remainder method

Decimal remainder(
  1. Decimal other
)

Return the remainder from dividing this Decimal by other.

Implementation

Decimal remainder(Decimal other) =>
    (_rational.remainder(other._rational)).toDecimal();