Multiplies two Currency values and returns a Decimal result.
[Visual Basic] Public Shared Function Multiply( _ ByVal c1 As Currency, _ ByVal c2 As Currency _ ) As Decimal [C#] public static Decimal Multiply( Currency c1, Currency c2 ); [C++] public: static Decimal Multiply( Currency c1, Currency c2 ); [JScript] public static function Multiply( c1 : Currency, c2 : Currency ) : Decimal;
The value is the quotient of two Currency values.
Exception Type | Condition |
---|---|
OverflowException | If the quotient is too large to represent as a Currency. |
The Multiply method performs the arithmetic funtion of multpling two Currency values and returning the quotient formated as a Decimal value. A overflow exception is thrown if the quotient (c1 * c2) are too large to represent as a Currency (see MaxValue).