Mono Class Library: System.Decimal Overview | Members

System.Decimal.Negate Method

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

public static decimal Negate (decimal d)

Parameters

d
The value to negate.

Returns

The negated value of d. If d is zero then zero is returned (with 0 sign); otherwise the scale of the result is the same as the scale of d .

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