WLJS LogoWLJS Notebook

Minus

-x is the arithmetic negation of x.

Examples

Negate a number:

-5
(* -5 *)

Negate an expression:

-(a + b)
(* -a - b *)

Please visit the official Wolfram Language Reference for more details.

On this page