CComCurrency::operator *=
This operator is used to perform multiplication on a CComCurrency object and assign it the result.
const CComCurrency & operator *=(
long nOperand
);
const CComCurrency & operator *=(
const CComCurrency & cur
);
nOperand
The multiplier.cur
The CComCurrency object used as the multiplier.
Returns the updated CComCurrency object. In the event of an error, such as an overflow, this operator calls AtlThrow with an HRESULT describing the error.
CComCurrency cur(10, 5000);
cur *= 2;
ATLASSERT(cur == CComCurrency(21, 0));
Header: atlcur.h