LayoutDoubleUtil.LessThanOrClose(Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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