MathComparisonUtils.IsLessThanOrAlmostEqual
Method
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.
Parameters
Parameter | Type | Description |
---|---|---|
value1 | Double | The first value. |
value2 | Double | The second value. |
Return Value
Type | Description |
---|---|
Boolean | True if value1 is less than or almost equal to value2, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | The given value for value1 is not finite -or- The given value for value2 is not finite |