Bridge

Decimal..::..Negate Method

Returns the result of multiplying the specified Decimal value by negative one.

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

Syntax


[TemplateAttribute]
public static decimal Negate(
	decimal d
)
<TemplateAttribute> _
Public Shared Function Negate ( _
	d As Decimal _
) As Decimal
[TemplateAttribute]
public:
static Decimal^ Negate(
	Decimal^ d
)

Parameters

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

Return Value

A decimal number with the value of d, but the opposite sign.-or- Zero, if d is zero.