CComCurrency::operator ==
This operator compares two CComCurrency objects for equality.
bool operator ==(
const CComCurrency & cur
) const;
- cur
The CComCurrency object to compare.
Returns true if the objects are equal (that is, the m_currency data members, both integer and fractional, in both objects have the same value), false otherwise.
CComCurrency cur1(10, 5000), cur2;
cur2 = cur1;
ATLASSERT(cur1 == cur2);
Header: atlcur.h