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

Sign Method
Gets the sign of the OracleNumber structure.
Syntax
'Declaration
 
Public Shared Function Sign( _
   ByVal value As OracleNumber _
) As Integer
 

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.
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