System.Currency.operator ++
C++
Currency& operator ++() {Val += 10000; return *this;}
Currency operator ++(int) {Currency tmp(*this); Val += 10000; return tmp;}
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | syscurr.h | System | Currency |
Description
Increments the value of the Currency object by a specified integer value.
Use the unary operator ++ to increment the value of the Currency object by 1.
Use the binary operator ++ to increment the value by the integer specified as an operand.