Tests to see if two numbers are equal within approximately 6 decimal digits.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 25.0
Syntax
VB
Public Shared Function DoublesAreEqual (
ra As Double,
rb As Double
) As Boolean
C#
public static bool DoublesAreEqual(
double ra,
double rb
)
Parameters
- ra
- Type: System.Double
First number. - rb
- Type: System.Double
Second number.
Return Value
Type:
BooleanTrue if the numbers are equal or nearly equal.
See Also
Reference