Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Datatype Mapping and Manipulation Functions, 108 of 134
Truncates an Oracle number at a specified decimal place.
sword OCINumberTrunc ( OCIError *err, CONST OCINumber *number, sword decplace, 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()
.
Input number.
Number of decimal digits to the right of the decimal point at which to truncate. Negative values are allowed.
Output of truncation.
This function returns an error if any of the number arguments is null.
OCIErrorGet()
, OCINumberRound()
This section describes the OCI Raw functions.
Function/Page | Purpose |
---|---|
Get allocated size of raw memory in bytes |
|
Assign raw bytes to raw |
|
Assign raw to raw |
|
Get raw data Pointer |
|
Resize memory of variable-length raw |
|
Get raw size |
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|