lteDecimalFixedPoint function

bool lteDecimalFixedPoint(
  1. DecimalFixedPoint a,
  2. DecimalFixedPoint b
)

Returns whether a is less than or equal to b.

Implementation

bool lteDecimalFixedPoint(DecimalFixedPoint a, DecimalFixedPoint b) {
  return cmpDecimalFixedPoint(a, b) <= 0;
}