Opc.Ua.Core
CompareDouble Method



Opc.Ua.Test Namespace > DataComparer Class : CompareDouble Method
First Value.
Second Value.
This method compares two Double values.
Syntax
'Declaration
 
Public Function CompareDouble( _
   ByVal value1 As Double, _
   ByVal value2 As Double _
) As Boolean
'Usage
 
Dim instance As DataComparer
Dim value1 As Double
Dim value2 As Double
Dim value As Boolean
 
value = instance.CompareDouble(value1, value2)
public bool CompareDouble( 
   double value1,
   double value2
)
public:
bool CompareDouble( 
   double value1,
   double value2
) 

Parameters

value1
First Value.
value2
Second Value.

Return Value

True in case of equal values. False or ServiceResultException in case of unequal values.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataComparer Class
DataComparer Members