MathHelperIsEqual Method (Double, Double, Double)
|
Checks if a number is equal to another.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static bool IsEqual(
double a,
double b,
double threshold
)
Public Shared Function IsEqual (
a As Double,
b As Double,
threshold As Double
) As Boolean
public:
static bool IsEqual(
double a,
double b,
double threshold
)
static member IsEqual :
a : float *
b : float *
threshold : float -> bool
STATIC METHOD IsEqual(
a AS REAL8,
b AS REAL8,
threshold AS REAL8
) AS LOGIC
Parameters
- a
- Type: SystemDouble
Double precision number. - b
- Type: SystemDouble
Double precision number. - threshold
- Type: SystemDouble
Tolerance.
Return Value
Type:
BooleanTrue if its close to one or false in any other case.
See Also