ctdbMoneyAdd
Add two money values. pResult = left + right
Declaration
CTDBRET ctdbMoneyAdd(CTMONEY left, CTMONEY right, pCTMONEY pResult)
Description
ctdbMoneyAdd() add two money values. pResult = left + right. Do not make regular additions with CTMONEY values.
Returns
ctdbMoneyAdd() returns CTDBRET_OK on success, or FairCom DB API error on failure.
The possible errors associated with ctdbMoneyAdd() are:
See also
ctdbMoneySub(), ctdbMoneyMul(), ctdbMoneyDiv()