Bridge

Decimal..::..Subtraction Operator

Subtracts two specified Decimal values.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


public static decimal operator -(
	decimal d1,
	decimal d2
)
Public Shared Operator - ( _
	d1 As Decimal, _
	d2 As Decimal _
) As Decimal
public:
static Decimal^ operator -(
	Decimal^ d1, 
	Decimal^ d2
)

Parameters

d1
Type: System..::..Decimal
The minuend.
d2
Type: System..::..Decimal
The subtrahend.

Return Value

The result of subtracting d2 from d1.

Exceptions


ExceptionCondition
System..::..OverflowExceptionThe return value is less than MinValue or greater than MaxValue.