operator - method

Decimal operator -(
  1. Decimal other
)

Subtraction operator.

Implementation

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