DoubleUtilDoublesAreEqual Method |
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: 23.0
Syntax Public Shared Function DoublesAreEqual (
ra As Double,
rb As Double
) As Boolean
public static bool DoublesAreEqual(
double ra,
double rb
)
Parameters
- ra
- Type: SystemDouble
First number. - rb
- Type: SystemDouble
Second number.
Return Value
Type:
BooleanTrue if the numbers are equal or nearly equal.
See Also