ctdbCurrencyMul
Multiply two CTCURRENCY values.
Declaration
CTDBRET ctdbCurrencyMul(CTCURRENCY left, CTCURRENCY right,
pCTCURRENCY pResult)
Description
ctdbCurrencyMul() multiplies two currency values. pResult = left * right. Do not use regular multiplication with CTCURRENCY values. Use regular multiplication with a combination of a CTCURRENCY value and a numeric value (int, COUNT, FLOAT, etc.).
Returns
ctdbCurrencyMul() returns CTDBRET_OK on success, or c-treeDB API error on failure.
The possible errors associated with ctdbCurrencyMul() are:
See also
ctdbCurrencyAdd(), ctdbCurrencySub(), ctdbCurrencyDiv()