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 FairCom DB API error on failure.
The possible errors associated with ctdbMoneySub() are:
See also
ctdbMoneyAdd(), ctdbMoneyMul(), ctdbMoneyDiv()