minimumMatchingFloatingPointNumber function

double minimumMatchingFloatingPointNumber (double value, 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;