remainder method

Decimal remainder(
  1. Decimal other
)

Return the remainder from dividing this Decimal by other.

Implementation

Decimal remainder(Decimal other) {
  var (d1, d2) = _unifyScale(this, other);
  return Decimal._(d1._value.remainder(d2._value), d1._scale);
}