dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2Double Structure / CompareTo Method / CompareTo(DB2Double) Method
The object to compare the current DB2Double object with.

In This Topic
    CompareTo(DB2Double) Method
    In This Topic
    Compares the current DB2Double object to the specified object and returns an integer that represents their relative values.
    Syntax
    'Declaration
     
    Public Overloads Function CompareTo( _
       ByVal value As DB2Double _
    ) As Integer
    public int CompareTo( 
       DB2Double value
    )

    Parameters

    value
    The object to compare the current DB2Double object with.

    Return Value

    A signed number indicating the relative values of the current DB2Double structure and the object.
    Return Value Condition
    Less than zero The value of the current DB2Double object is less than the object.
    Zero The current DB2Double object is the same to the object.
    Greater than zero The current DB2Double object is greater than the object.
    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