ctdbMoneyMul
Multiply two CTMONEY values.
Declaration
CTDBRET ctdbMoneyMul(CTMONEY left, CTMONEY right, pCTMONEY pResult)
Description
ctdbMoneyMul() multiplies two money values. pResult = left * right. Do not make regular multiplication with CTMONEY values. It is possible to use regular multiplication with a CTMONEY value and a numeric value (int, COUNT, FLOAT, etc.).
Returns
ctdbMoneyMul() returns CTDBRET_OK on success, or c-treeDB API error on failure.
The possible errors associated with ctdbMoneyMul() are:
See also
ctdbMoneyAdd(), ctdbMoneySub(), ctdbMoneyDiv()