minimumMatchingFloatingPointNumber function

double minimumMatchingFloatingPointNumber(
  1. double value,
  2. int maxNumbersBetween
)

Returns the floating point number that will match the value with the tolerance on the minimum size (i.e. the result is always smaller than the value)

Implementation

double minimumMatchingFloatingPointNumber(
        double value, int maxNumbersBetween) =>
    rangeOfMatchingFloatingPointNumbers(value, maxNumbersBetween).item1;