Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether two floating point values are considered equal in a specified tolerance
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams.GraphObject
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Shared Function FuzzEqual ( _
    first As Double, _
    second As Double, _
    fuzz As Double _
) As Boolean
public static bool FuzzEqual(
    double first,
    double second,
    double fuzz
)
public:
static bool FuzzEqual(
    double first, 
    double second, 
    double fuzz
)
static member FuzzEqual : 
        first:float * 
        second:float * 
        fuzz:float -> bool
public static function FuzzEqual(
    first : double, 
    second : double, 
    fuzz : double
) : boolean
Parameters
- first 
 Type: System.Double- first value to compare 
- second 
 Type: System.Double- second value to compare 
- fuzz 
 Type: System.Double- tolerance - must be positive 
Return Value
Type: System.Boolean
true if the first and second values differ by no more than the fuzz value
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Modeling.Diagrams.GraphObject Namespace