ESRI.ArcGIS.ADF.Web.UI.WebControls
Equals(Double,Double,Int32) Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Comparer Class > Equals Method : Equals(Double,Double,Int32) Method




value
Value to evaluate.
target
Target value to approximate.
precision
Decimal point precision where values must be less than one.
Determines if input value is approximately equal to the target value.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Equals( _
   ByVal value As Double, _
   ByVal target As Double, _
   ByVal precision As Integer _
) As Boolean
Visual Basic (Usage)Copy Code
Dim value As Double
Dim target As Double
Dim precision As Integer
Dim value As Boolean
 
value = Comparer.Equals(value, target, precision)
C# 
public static bool Equals( 
   double value,
   double target,
   int precision
)

Parameters

value
Value to evaluate.
target
Target value to approximate.
precision
Decimal point precision where values must be less than one.

Return Value

True if value is approximately equal, false otherwise.

See Also

© 2010 All Rights Reserved.