Table of Contents

Method LessThanAndNotClose

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

value1 double

The first double-precision floating-point value to compare.

value2 double

The second double-precision floating-point value to compare.

Returns

bool

true if value1 is less than value2 and 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

value1 float

The first floating-point value to compare.

value2 float

The second floating-point value to compare.

Returns

bool

true if value1 is less than value2 and 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.