LayoutDoubleUtil::AreClose Method (Double, Double)

 

Determines whether the absolute value of the difference between the specified values is less than the double value 0.00000153.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

public:
[ExtensionAttribute]
static bool AreClose(
	double value1,
	double value2
)

Parameters

value1
Type: System::Double

The first value for comparison.

value2
Type: System::Double

The second value for comparison.

Return Value

Type: System::Boolean

Returns true if the difference between the values is less than 0.00000153; otherwise returns false.

Return to top
Show: