ctdbLongToMoney
Convert a LONG value to a CTMONEY.
Declaration
CTDBRET ctdbLongToMoney(CTSIGNED value, pCTMONEY pMoney)
Description
ctdbLongToMoney() converts a LONG value to a CTMONEY value. The long value is multiplied by 100 before the conversion. Use ctdbMoneyToLong() to convert from a LONG to CTMONEY.
Returns
ctdbLongToMoney() returns CTDBRET_OK on success, or c-treeDB API error on failure.
The possible error associated with ctdbLongToMoney() is:
See also
ctdbMoneyToLong()