operator - method

U8 operator -(
  1. U8 other
)
override

Subtracts other from this number.

The result is an int, as described by int.-, if both this number and other is an integer, otherwise the result is a double.

Implementation

U8 operator -(U8 other) => U8((value - other.value).toUnsigned(8));