ctdbFloatToBigInt
Convert a float to a big integer value.
Declaration
CTDBRET ctdbFloatToBigInt(CTFLOAT value, pCTBIGINT pBigInt)
Description
ctdbFloatToBigInt() converts a float to a big integer value. A big integer is an 8 bytes integer value. Use ctdbBigIntToFloat() to convert from a big integer to a float.
Returns
ctdbFloatToBigInt() returns CTDBRET_OK on success, or c-treeDB API error on failure.
The possible error associated with ctdbFloatToBigInt() is:
See also
ctdbBigIntToFloat()