ctdbNumberAdd
Add two Number values. pResult = left + right
Declaration
CTDBRET ctdbNumberAdd(pCTNUMBER pLeft, pCTNUMBER pRight,
pCTNUMBER pResult)
Description
ctdbNumberAdd() add number pLeft to pRight and store the result in ‘pResult’. Do not make regular additions with CTNUMBER values.
Returns
ctdbNumberAdd() returns CTDBRET_OK on success, or FairCom DB API error on failure. The possible error associated with ctdbNumberAdd() is:
See also
ctdbNumberSub(), ctdbNumberMul(), ctdbNumberDiv()