Negates the value of the specified decimal operand.
![]()
The result of d multiplied by negative one (-1).
The decimal.op_UnaryPlus(decimal) method defines the operation of the unary negation operator (or the additive inverse operator) for decimal values. The operation produces a value that results in 0 (zero) when it is added to the original number. Languages that do not support custom operators can call the decimal.Negate(decimal) method instead.