System.Decimal.Negate Method

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

Syntax

public static decimal Negate (decimal d)

Parameters

d
The value to negate.

Returns

A decimal number with the value of d, but the opposite sign.

-or-

Zero, if d is zero.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0