LmiMathEqualWithinTolerance Method (Double, Double, Double) |
Returns True if two numbers are equal within the specified tolerance (that is, almost equal).
Namespace:
Autodesk.iLogic.Runtime
Assembly:
Autodesk.iLogic.Runtime (in Autodesk.iLogic.Runtime.dll) Version: 23.0
Syntax Public Shared Function EqualWithinTolerance (
a As Double,
b As Double,
tolerance As Double
) As Boolean
public static bool EqualWithinTolerance(
double a,
double b,
double tolerance
)
Parameters
- a
- Type: SystemDouble
First number. - b
- Type: SystemDouble
Second number. - tolerance
- Type: SystemDouble
The tolerance.
Return Value
Type:
BooleanSee Also