Returns true if the two numbers are equal within a tolerance of 1.0E-7.
Namespace: Autodesk.iLogic.Runtime
Assembly: Autodesk.iLogic.Runtime (in Autodesk.iLogic.Runtime.dll) Version: 30.0
Syntax
VB
Public Shared Function EqualWithinTolerance ( a As Double, b As Double ) As Boolean
C#
public static bool EqualWithinTolerance( double a, double b )
Parameters
- a
- Type: System.Double
First number. - b
- Type: System.Double
Second number.