RVTDocs.com

MathComparisonUtils.IsAlmostEqual

Method
Description:
Checks if two doubles are almost equal, using the internal tolerance.
Syntax
public static bool IsAlmostEqual(
	double value1,
	double value2
)
Parameters
Parameter Type Description
value1 Double The first value.
value2 Double The second value.
Return Value
Type Description
Boolean True if two doubles are almost equal, false otherwise.
Exceptions
Exception Condition
ArgumentException The given value for value1 is not finite -or- The given value for value2 is not finite