RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Currency::* Operator (Currency&)

Multiplies the value of the System::Currency::Currency object by a specified value.

Pascal
operator *(const rhs: Currency&);
operator *(rhs: Integer);
operator *(rhs: double);
C++
__fastcall Currency operator *(const Currency& rhs) const;
__fastcall Currency operator *(int rhs) const;
__fastcall Currency operator *(double rhs) const;

Use the System::Currency::* to multiply the value of the System::Currency::Currency object by the value specified by the rhs operand.  

Note that there are two related friend System::Currency::*s:

friend Currency __fastcall operator *(int lhs, const Currency& rhs);

multiples the values of integer lhs and System::Currency::Currency object rhs and returns a new System::Currency::Currency object with the resulting value.

friend Currency __fastcall operator *(double lhs, const Currency& rhs);

multiples the values of double lhs and System::Currency::Currency object rhs and returns a new System::Currency::Currency object with the resulting value. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!