neg (Math)
Returns the negative of the given value.
Arguments
number0
is an integer or real number.
Return values
number1
as an integer or real number, according to the argument type.
Example
Output:
-2
-2.000000
Returns the negative of the given value.