COleCurrency operator +( const COleCurrency& cur ) const;
COleCurrency operator -( const COleCurrency& cur ) const;
COleCurrency operator -( ) const;
Remarks
These operators allow you to add and subtract two COleCurrency values to and from each other and to change the sign of a COleCurrency value.
If either of the operands is null, the status of the resulting COleCurrency value is null.
If the arithmetic operation overflows, the resulting COleCurrency value is invalid.
If the operands is invalid and the other is not null, the status of the resulting COleCurrency value is invalid.
For more information on the valid, invalid, and null status values, see the m_status member variable.
COleCurrency Overview | Class Members | Hierarchy Chart
See Also OleCurrency::operator +=, -=, COleCurrency::GetStatus