dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlDecimal Structure / CompareTo Method / CompareTo(MySqlDecimal) Method
Another MySqlDecimal instance to compare with this instance.

In This Topic
    CompareTo(MySqlDecimal) Method
    In This Topic
    Compares the current instance with another object of the same type.
    Syntax
    'Declaration
     
    Public Overloads Function CompareTo( _
       ByVal other As MySqlDecimal _
    ) As Integer
    public int CompareTo( 
       MySqlDecimal other
    )

    Parameters

    other
    Another MySqlDecimal instance to compare with this instance.

    Return Value

    A 32-bit signed integer that indicates the relative order of the objects being compared. A negative integer means that the current instance is less than the other argument. Zero indicates that the objects are equal. A positive integer means that the current instance is greater than the other argument.
    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