Decimal.Subtract Method
Silverlight
Subtracts one specified Decimal value from another.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Parameters
- d1
- Type: System.Decimal
A Decimal (the minuend).
- d2
- Type: System.Decimal
A Decimal (the subtrahend).
| Exception | Condition |
|---|---|
| OverflowException | The return value is less than MinValue or greater than MaxValue. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.