operator - method

Q operator -(
  1. Q other
)

Subtracts other from this quantity.

Implementation

Q operator -(Q other) => create(value - other.getValue(unit), unit);