ctdbCurrencySub
Subtract two currency values. pResult = left - right.
Declaration
CTDBRET ctdbCurrencySub(CTCURRENCY left, CTCURRENCY right,
pCTCURRENCY pResult)
Description
ctdbCurrencySub() subtracts two currency values. pResult = left - right. Do not make regular subtractions with CTCURRENCY values.
Returns
ctdbCurrencySub() returns CTDBRET_OK on success, or FairCom DB API error on failure.
The possible errors associated with ctdbCurrencySub() are:
See also
ctdbCurrencyAdd(), ctdbCurrencyMul(), ctdbCurrencyDiv()