System.Currency.operator *

提供: RAD Studio API Documentation
移動先: 案内検索

C++

Currency operator *(const Currency& rhs) const
Currency operator *(int rhs) const
Currency operator *(double rhs) const

プロパティ

種類 可視性 ソース ユニット
function public syscurr.h System Currency


説明

Currency オブジェクトの値を指定された値で乗算します。

operator * を使用すると,Currency オブジェクトの値を rhs オペランドで指定された値で乗算できます。

関連するフレンド operator * には,以下の 2 つがあります。

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

integer lhs と Currency オブジェクト rhs の値を乗算して,その結果の値を保持する新しい Currency オブジェクトを返します。

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

double lhs と Currency オブジェクト rhs の値を乗算して,その結果の値を保持する新しい Currency オブジェクトを返します。

関連項目