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