Difference

difference expr1 expr2
expr1 - expr2
- expr

Result of subtracting value of the expr2 from value of the expr1. Value of the exprwith inverted sign is returned in case of unary operator.

Example:

print difference 5 3
print 5 - 3
print -sqrt 4

Output:

2
2
-2

See also:

-= - subtract a number

Table of Content