ctdbCurrencyToFloat
Convert a CTCURRENCY value to a float value.
Declaration
CTDBRET ctdbCurrencyToFloat(CTCURRENCY currency, pCTFLOAT pValue)
Description
ctdbCurrencyToFloat() converts a CTCURRENCY (8 bytes signed integer) value to a float value. Use ctdbFloatToCurrency() to convert from a float to a CTCURRENCY value.
Returns
ctdbCurrencyToFloat() returns CTDBRET_OK on success, or FairCom DB API error on failure.
The possible error associated with ctdbCurrencyToFloat() is:
See also
ctdbFloatToCurrency()