Click or drag to resize

UtilNE Method (Double, Double)

Test if a is not equal to b (within 1e-6 tolerance)

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static bool NE(
	double a,
	double b
)

Parameters

a
Type: SystemDouble
First value
b
Type: SystemDouble
Second value

Return Value

Type: Boolean
Logical result of comparing a and b
Remarks
Use for floating point comparisons (e.g. "1.0f/3" equals "1.0/3" returns false, but logically it should be true)
See Also