ctdbCurrencyToNumber
Convert a CTCURRENCY value to a CTNUMBER value.
Declaration
CTDBRET ctdbCurrencyToNumber(CTCURRENCY value, pCTNUMBER pNumber)
Description
ctdbCurrencyToNumber() converts a CTCURRENCY value to a CTNUMBER value. Use ctdbNumberToCurrency() to convert from a CTNUMBER to CTCURRENCY.
Returns
ctdbCurrencyToNumber() returns CTDBRET_OK on success, or c-treeDB API error on failure.
The possible error associated with ctdbCurrencyToNumber() is:
See also
ctdbNumberToCurrency(), ctdbNumberToLong()