remainder method

Decimal remainder(
  1. Decimal other
)

Return the remainder from dividing this num by other.

Implementation

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