Arithmetic Operators:
|
Expression |
Result |
|
A + B |
Add A and B. |
|
A – B |
Subtract B from A. |
|
A / B |
Divide A by B and produce an integer by dropping all decimals (for example: 9/4 gives 2). |
|
A * B |
Multiply A and B. |
|
-A |
Change the sign of A (same result as 0-A). |