MathHelperIsZero Method (Double, Double)
|
Checks if a number is close to zero.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static bool IsZero(
double number,
double threshold
)
Public Shared Function IsZero (
number As Double,
threshold As Double
) As Boolean
public:
static bool IsZero(
double number,
double threshold
)
static member IsZero :
number : float *
threshold : float -> bool
STATIC METHOD IsZero(
number AS REAL8,
threshold AS REAL8
) AS LOGIC
Parameters
- number
- 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