MathComparisonUtils.IsLessThanOrAlmostEqual
Description:
Checks if value1 is less than or almost equal to value2, using the internal tolerance.
Checks if value1 is less than or almost equal to value2, using the internal tolerance.
public static bool IsLessThanOrAlmostEqual(
double value1,
double value2
)
-
Doublevalue1The first value.
-
Doublevalue2The second value.
-
The given value for value1 is not finite -or- The given value for value2 is not finite