Click or drag to resize

MathUtilNearlyEqual Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Returns a boolean value that states whether or not two float values are equal within a certain tolerance.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static bool NearlyEqual(
	float valueA,
	float valueB,
	float epsilon
)

Parameters

valueA
Type: SystemSingle
The first float value.
valueB
Type: SystemSingle
The second float value.
epsilon
Type: SystemSingle
The tolerance value

Return Value

Type: Boolean
True if two floats are nearly equal.
See Also