ctdbMoneySub
Subtract two money values. pResult = left - right.
Declaration
CTDBRET ctdbMoneySub(CTMONEY left, CTMONEY right, pCTMONEY pResult)
Description
ctdbMoneySub() subtracts two money values. pResult = left - right. Do not make regular subtractions with CTMONEY values.
Returns
ctdbMoneySub() returns CTDBRET_OK on success, or c-treeDB API error on failure.
The possible errors associated with ctdbMoneySub() are:
See also
ctdbMoneyAdd(), ctdbMoneyMul(), ctdbMoneyDiv()