Click or drag to resize

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
)

Parameters

number
Type: SystemDouble
Double precision number.
threshold
Type: SystemDouble
Tolerance.

Return Value

Type: Boolean
True if its close to one or false in any other case.
See Also