RAD Studio VCL Reference
|
Adds a specified value to the System::Currency::Currency object.
Use the System::Currency::+ to add the value specified by the rhs operand to the System::Currency::Currency object. If the rhs operand is another System::Currency::Currency object, the System::Currency::+ adds its value to the System::Currency::Currency object. If it is an integer or double value, the System::Currency::+ adds that value to the value of the System::Currency::Currency object.
Note that there are two related friend System::Currency::+s:
returns a new System::Currency::Currency object that is the sum of int lhs and System::Currency::Currency object rhs.
returns a new System::Currency::Currency object that is the sum of double lhs and System::Currency::Currency object rhs.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|