– (Subtract/Negative)
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
– (Subtract/Negative)
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
– (Subtract/Negative)
Indicates a negative value (unary -) or subtracts one value from another.
Syntax
[expression1] – expression2
The minus sign (-) subtracts the expression on the right from the expression on the left.
where
expression1 | a number or expression that evaluates to a number |
expression2 | a number or expression that evaluates to a number |
Comments
Arithmetic operators indicate the sign of a number or perform arithmetic operations (addition, subtraction, multiplication, division, exponentiation).
Updated
ByJason Lee
Was this article helpful?
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5