COleCurrency::operator +, -

Use these operators to add and subtract two COleCurrency values to and from each other and to change the sign of a COleCurrency value.

Syntax

COleCurrency operator +( const COleCurrency& cur ) const;

COleCurrency operator -( const COleCurrency& cur ) const;

COleCurrency operator -( ) const;

At a Glance

Header file: Afxdisp.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

COleCurrency Overview, COleCurrency Operators, Automation Types, COleCurrency::operator +=, -=, COleCurrency::GetStatus