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