ctdbBigIntToFloat
Convert a big integer value to a float.
Declaration
CTDBRET ctdbBigIntToFloat(CTBIGINT value, pCTFLOAT pFloat)
Description
ctdbBigIntToFloat() converts a big integer value to a float. A big integer is an 8 bytes integer value. Use ctdbFloatToBigInt() to convert from a float to a big integer. Use ctdbBigIntToLong() to convert a big integer value to a LONG.
Returns
ctdbBigIntToFloat() returns CTDBRET_OK on success, or c-treeDB API error on failure.
The possible error associated with ctdbBigIntToFloat() is CTDBRET_NULARG since a Null argument is not valid in pFloat.
See also
ctdbFloatToBigInt(), ctdbBigIntToLong()