System.Currency.operator *
C++
Currency __fastcall operator *(const Currency& rhs) const
Currency __fastcall operator *(int rhs) const
Currency __fastcall operator *(double rhs) const
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | syscurr.h | System | Currency |
Description
Multiplies the value of the Currency object by a specified value.
Use the operator * to multiply the value of the Currency object by the value specified by the rhs operand.
Note that there are two related friend operator *s:
friend Currency __fastcall operator *(int lhs, const Currency& rhs);
multiples the values of integer lhs and Currency object rhs and returns a new Currency object with the resulting value.
friend Currency __fastcall operator *(double lhs, const Currency& rhs);
multiples the values of double lhs and Currency object rhs and returns a new Currency object with the resulting value.