Compares two
Double values and returns
a value indicating whether one is less than, equal to or greater than the other.
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Compare ( _
x As Double, _
y As Double _
) As Integer |
Parameters
- x (System.Double)
- A real number.
- y (System.Double)
- A real number.
Return Value
| Value | Condition |
|---|
| Less than zero | x is less than
y. |
| Zero | x equals
y within the specified
tolerance. |
| Greater than zero | x is greater than
y. |
Remarks