operator % method

Decimal operator %(
  1. Decimal other
)

Euclidean modulo operator.

See num.operator%.

Implementation

Decimal operator %(Decimal other) =>
    (_rational % other._rational).toDecimal();