Negative

neg( )


The negative operator calculates the negative of what is within its parentheses. For example, if you enter the number -2:


neg(-2)


the result would be 2.


If you enter the number 2:


neg(2)


the result would be -2.