dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleNumber Structure / Sign Method
The specified OracleNumber structure.

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

    Parameters

    value
    The specified OracleNumber structure.

    Return Value

    A number indicating the sign of the OracleNumber structure.
    Remarks
    Return Value Condition
    -1 If the specified OracleNumber is less than 0.
    0 If the specified OracleNumber is equal to 0.
    1 If the specified OracleNumber is greater than 0.
    This method is not available in Direct mode.
    See Also