Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Datatype Mapping and Manipulation Functions, 99 of 134
Multiplies a number by a power of 10 by shifting it a specified number of decimal places.
sword OCINumberShift ( OCIError *err, CONST OCINumber *number, CONST sword nDig, OCINumber *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()
.
Oracle Number to be shifted.
Number of decimal places to shift.
Shift result.
Multiplies number by 10^nDig
and sets product
to the result.
This function returns an error if the input number is null.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|