Divides two Currency values and produces a Currency result.
[C#] public static Currency operator /( Currency c1, Currency c2 ); [C++] public: static Currency operator op_Division( Currency c1, Currency c2 ); [JScript] returnValue = c1 / c2;
[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.
The value is the Currency result of evaluating c1/ c2.
Exception Type | Condition |
---|---|
DivideByZeroException | if c2 is zero. |
op_Division returns the result of dividing two Currency values (c1/ c2) as Currency.