Returns the negative value of the specified expression. This is the functional equivalent to the - sign.
neg( expression1 ) integer, measure, currency value
expression1
Integer, measure or currency value. The returned value is the same type as expression1.
Examples 1and 2 show both ways of negating a number. Negating negative numbers yields a positive result.
-12 %Returns -12
-&max %Returns negative of the value of the variable &max
neg(-12.45) %Returns 12.45