NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Decimal.Multiply

Divides two Decimal values and produces a Decimal result.

[Visual Basic]
Public Shared Function Multiply( _
   ByVal d1 As Decimal, _
   ByVal d2 As Decimal _
) As Decimal
[C#]
public static Decimal Multiply(
   Decimal d1,
   Decimal d2
);
[C++]
public: static Decimal Multiply(
   Decimal d1,
   Decimal d2
);
[JScript]
public static function Multiply(
   d1 : Decimal,
   d2 : Decimal
) : Decimal;

Parameters

d1
The left operand.
d2
The right operand.

Return Value

The result of multiplying two Decimal values.

Exceptions

Exception Type Condition
OverflowException is thrown if the result is too large to represent as a Decimal.

Remarks

The Multiply method performs the arithmetic multiplication operation evaluating two Decimal values (d1 * d2) and returns the results.

See Also

Decimal Structure | Decimal Members | System Namespace