operator % method

Fixed operator %(
  1. Fixed divisor
)

Returns this % divisor.

The scale is the largest of the two scales.

Implementation

Fixed operator %(Fixed divisor) => Fixed.fromDecimal(value % divisor.value,
    scale: max(scale, divisor.scale));