Share via


VGConstants.FuzzZero Method

Determines whether a floating point value should be considered equal to zero 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 FuzzZero ( _
    value As Double, _
    fuzz As Double _
) As Boolean
public static bool FuzzZero(
    double value,
    double fuzz
)
public:
static bool FuzzZero(
    double value, 
    double fuzz
)
static member FuzzZero : 
        value:float * 
        fuzz:float -> bool
public static function FuzzZero(
    value : double, 
    fuzz : double
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the value differs by no more than the fuzz value from zero

.NET Framework Security

See Also

Reference

VGConstants Class

Microsoft.VisualStudio.Modeling.Diagrams.GraphObject Namespace