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