|
|||||
operator | negate, - | ||||
Syntax
(- | negate) numeric-expression
Changes the sign of the numeric-expression it is applied to. If the numeric-expression is positive, then the result is negative. If applied to a negative expression, the value is positive.
This does not change the absolute value of the numeric-expression.
The punctuational form (-
) is encouraged over the keyword negate
.
Usage examples:
-432 -("4987" + 315 * 12) - "3" > "04" negate "3" > "04"
---- |