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 Multiplication Operator

Multiplies two Decimal values and produces a Decimal result.

[C#]
public static Decimal operator *(
   Decimal d1,
   Decimal d2
);
[C++]
public: static Decimal operator op_Multiply(
   Decimal d1,
   Decimal d2
);
[JScript]
returnValue = d1 * d2;

[Visual Basic] In Visual Basic, you cannot use the operators defined by a type, nor override them or define your own.

[JScript] In JScript, you can use the operators defined by a type, but you cannot override them or define your own.

Arguments [JScript]

d1
The left operand, a Decimal.
d2
The right operand, a Decimal.

Parameters [C#, C++]

d1
The left operand, a Decimal.
d2
The right operand, a Decimal.

Return Value [C#, C++, JScript]

The Decimal result of multiplying two Decimal values.

Remarks [C#, C++, JScript]

The op_Multiply method determines the result of the first Decimal multiplied by second Decimal value (d1 * d2) and returns quotient the as a Decimal value.

See Also

Decimal Structure | Decimal Members | System Namespace