Bridge

Decimal..::..UnaryNegation Operator

Negates the value of the specified Decimal operand.

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

Syntax


public static decimal operator -(
	decimal d
)
Public Shared Operator - ( _
	d As Decimal _
) As Decimal
public:
static Decimal^ operator -(
	Decimal^ d
)

Parameters

d
Type: System..::..Decimal
The value to negate.

Return Value

The result of d multiplied by negative one (-1).