COleCurrency::operator +=, -=

const COleCurrency& operator +=( const COleCurrency& cur );

const COleCurrency& operator -=( const COleCurrency& cur );

Remarks

These operators allow you to add and subtract a COleCurrency value to and from this COleCurrency object.

If either of the operands is null, the status of this COleCurrency object is set to null.

If the arithmetic operation overflows, the status of this COleCurrency object is set to invalid.

If either of the operands is invalid and the other is not null, the status of this COleCurrency object is set to invalid.

For more information on the valid, invalid, and null status values, see the m_status member variable.

COleCurrency OverviewClass MembersHierarchy Chart

See Also   COleCurrency::operator +, -, COleCurrency::GetStatus