Udostępnij za pośrednictwem


LayoutDoubleUtil.GreaterThanOrClose(Double, Double) Method

Definition

Determines if one double value is greater than or close to another.

public:
[System::Runtime::CompilerServices::Extension]
 static bool GreaterThanOrClose(double value1, double value2);
public:
[System::Runtime::CompilerServices::Extension]
 static bool GreaterThanOrClose(double value1, double value2);
public static bool GreaterThanOrClose (this double value1, double value2);
static member GreaterThanOrClose : double * double -> bool
<Extension()>
Public Function GreaterThanOrClose (value1 As Double, value2 As Double) As Boolean

Parameters

value1
Double

First value to compare

value2
Double

Second value to compare

Returns

True if value1 is greater than or close to value2, otherwise false

Applies to