Tests whether two real number are equal.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
public static bool Equals(
	float f1,
	float f2,
	int binDigits
)

Parameters

f1
Type: System..::.Single
A first value.
f2
Type: System..::.Single
A second value.
binDigits
Type: System..::.Int32
The number of allowed different binary numbers.

Return Value

trueTruetruetrue (True in Visual Basic) if values differentiate no more than in the less-significant binary numbers.

See Also