Method LessThanAndNotClose
LessThanAndNotClose(double, double)
Determines whether the first value is less than the second value and not approximately equal to it.
public static bool LessThanAndNotClose(double value1, double value2)
Parameters
value1doubleThe first double-precision floating-point value to compare.
value2doubleThe second double-precision floating-point value to compare.
Returns
- bool
true if
value1is less thanvalue2and the two values are not considered approximately equal; otherwise, false.
Remarks
The method uses a predefined tolerance to determine whether the two values are approximately equal.
LessThanAndNotClose(float, float)
Determines whether the first value is less than the second value and not approximately equal to it.
public static bool LessThanAndNotClose(float value1, float value2)
Parameters
value1floatThe first floating-point value to compare.
value2floatThe second floating-point value to compare.
Returns
- bool
true if
value1is less thanvalue2and the two values are not considered approximately equal; otherwise, false.
Remarks
The method uses a predefined tolerance to determine whether the two values are approximately equal.