Returns the negated value of the specified Decimal.
[Visual Basic] Public Shared Function Negate( _ ByVal d As Decimal _ ) As Decimal [C#] public static Decimal Negate( Decimal d ); [C++] public: static Decimal Negate( Decimal d ); [JScript] public static function Negate( d : Decimal ) : Decimal;
The negated value of the argument.
The Negate method returns the negative of the specified Decimal value. For example:
If d is non-zero, the result is -d.
If d is zero, the result is zero.