MathUtilNearlyEqual Method | |
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
)
Public Shared Function NearlyEqual (
valueA As Single,
valueB As Single,
epsilon As Single
) As Boolean
Parameters
- valueA
- Type: SystemSingle
The first float value. - valueB
- Type: SystemSingle
The second float value. - epsilon
- Type: SystemSingle
The tolerance value
Return Value
Type:
BooleanTrue if two floats are nearly equal.
See Also