2025.3 Method
Changes 1
M

MathComparisonUtils.IsAlmostEqual

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