Share

DoubleUtil.DoublesAreDifferent Method

Tests to see if two numbers are not equal within approximately 6 decimal digits.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 30.0

Syntax

VB

Public Shared Function DoublesAreDifferent ( 
	ra As Double,
	rb As Double
) As Boolean

C#

public static bool DoublesAreDifferent(
	double ra,
	double rb
)

Parameters

ra
Type: System.Double
First number.
rb
Type: System.Double
Second number.

Return Value

Type: Boolean
False if the numbers are equal (or nearly equal).

See Also

Reference

Was this information helpful?