共用方式為


LayoutDoubleUtil.LessThanOrClose(Double, Double) Method

Definition

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

public:
[System::Runtime::CompilerServices::Extension]
 static bool LessThanOrClose(double value1, double value2);
public:
[System::Runtime::CompilerServices::Extension]
 static bool LessThanOrClose(double value1, double value2);
public static bool LessThanOrClose (this double value1, double value2);
static member LessThanOrClose : double * double -> bool
<Extension()>
Public Function LessThanOrClose (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 less than or close to value2, otherwise false

Applies to