operator <= method

bool operator <=(
  1. Fixed other
)

less than or equal operator

Implementation

bool operator <=(Fixed other) {
  final scaled = _scale2(this, other);
  return scaled.one.minorUnits <= scaled.two.minorUnits;
}