| Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01  | 
  | 
OCI Datatype Mapping and Manipulation Functions, 100 of 134
Gets sign of an Oracle number.
sword OCINumberSign ( OCIError *err, CONST OCINumber *number, sword *result );
The OCI error handle. If there is an error, it is recorded in err and this function returns OCI_ERROR. Obtain diagnostic information by calling OCIErrorGet().
Number whose sign is returned.
Possible values:
| Value of number | Output in result parameter | 
|---|---|
|  
 number < 0  | 
 
 -1  | 
|  
 number == 0  | 
 
 0  | 
|  
 number > 0  | 
 
 1  | 
This function returns an error if number or result is null.
  | 
![]() Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved.  | 
  |