System.Currency.operator --

From RAD Studio API Documentation
Jump to: navigation, search

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

Decrements the value of the Currency object by a specified integer value.

Use the unary operator -- to decrement the value of the Currency object by 1.

Use the binary operator -- to decrement the value by the integer specified as an operand.

See Also