Click or drag to resize

MathUtilsIsEqual Method

Indicates if two double values are equal within a specific maximum difference range.

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static bool IsEqual(
	double v0,
	double v1,
	double epsilon
)

Parameters

v0
Type: SystemDouble
The first value.
v1
Type: SystemDouble
The second value.
epsilon
Type: SystemDouble
The maximum difference range. Should be a positive value.

Return Value

Type: Boolean
true if the absolute difference is smaller than epsilon; otherwise false.
See Also