FairCom Corporation


4.3.17 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 C 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


FairCom Corporation
www.faircom.com