dotConnect Universal Documentation
Devart.Data.Universal Namespace / UniDecimal Structure / Sign Method
The specified UniDecimal structure.

In This Topic
    Sign Method
    In This Topic
    Gets the sign of the UniDecimal structure.
    Syntax
    'Declaration
     
    Public Shared Function Sign( _
       ByVal value As UniDecimal _
    ) As Integer
    public static int Sign( 
       UniDecimal value
    )

    Parameters

    value
    The specified UniDecimal structure.

    Return Value

    A number indicating the sign of the UniDecimal structure.
    Remarks
    Return Value Condition
    -1 If the specified UniDecimal is less than 0.
    0 If the specified UniDecimal is equal to 0.
    1 If the specified UniDecimal is greater than 0.
    This method is not available in Direct mode.
    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