Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbBigIntToNumber

Convert a big integer to a CTNUMBER value.

Declaration

CTDBRET ctdbBigIntToNumber(CTBIGINT value, pCTNUMBER pNumber)

Description

ctdbBigIntToNumber() converts a big integer value to CTNUMBER. Use ctdbNumberToBigInt() to convert from a big integer to CTNUMBER.

  • value [in] the CTBIGINT value.
  • pNumber [out] pointer to CTNUMBER.

Returns

ctdbBigIntToNumber() returns CTDBRET_OK on success, or c-treeDB API error on failure.

The possible error associated with ctdbBigIntToNumber() is:

  • CTDBRET_NULARG (4007): Null argument not valid in pNumber

See also

ctdbNumberToBigInt()

TOCIndex