In This Topic
Checks if a and b are almost equals, taking into account the magnitude of floating point numbers. See Remarks. See remarks.
Syntax
'Declaration
Public Shared Function NearEqual( _
ByVal As System.Single, _
ByVal As System.Single _
) As System.Boolean
public static System.bool NearEqual(
System.float ,
System.float
)
Parameters
- a
- The left value to compare.
- b
- The right value to compare.
Return Value
true
if a almost equal to b, false
otherwise
See Also