Decimal.Subtract Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Subtracts one specified Decimal value from another.
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. |
Show: