Utility.CompareWithoutTolerance Method
Compares two floating point numbers witohut using a tolerance (for Sorting methods).
Public Shared Function CompareWithoutTolerance( _
ByVal a As Double, _
ByVal b As Double _
) As Integer
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
a
-
double
First number
-
b
-
double
Second number
Return Value
int
Returns
-1: first < second
0: first == second
+1: first > second
.NET Framework
Supported in: 4.8