Negation (-)

Syntax

-x

Explanation

Unary -, performs negation on the operand.

Examples

-2     // -2
-(-2)  // 2

results matching ""

    No results matching ""