ctdbFloatToNumber
Convert a float to a CTNUMBER value.
Declaration
CTDBRET ctdbFloatToNumber(CTFLOAT value, pCTNUMBER pNumber)
Description
ctdbFloatToNumber() converts a floating point value to a CTNUMBER value. Use ctdbNumberToFloat() to convert a CTNUMBER to float.
Returns
ctdbFloatToNumber() returns CTDBRET_OK on success, or c-treeDB API error on failure.
The possible error associated with ctdbFloatToNumber() is:
See also
ctdbNumberToFloat()