ctdbNumberToBigInt
Convert a CTNUMBER value to a big integer.
Declaration
CTDBRET ctdbNumberToBigInt(pCTNUMBER pNumber, pCTBIGINT pValue)
Description
ctdbNumberToBigInt() converts a CTNUMBER value to a big integer (8 bytes). Use ctdbBigIntToNumber() to convert from a big integer to CTNUMBER. Use ctdbNumberToLong() to convert CTNUMBER to a LONG (4 bytes integer).
Returns
ctdbNumberToBigInt() returns CTDBRET_OK on success, or c-treeDB API error on failure.
The possible error associated with ctdbNumberToBigInt() is:
See also
ctdbBigIntToNumber(), ctdbNumberToLong()