Arithmetic Operators
Binary Operators
| operator | description |
|---|---|
| + | Addition |
| - | Subtraction |
| * | Multiplication |
| / | Division |
| % | Modulo |
Syntax
value operator value
- value
- value
A binary arithmetic operator calculate integer or float values, and return the result.
If either of operands is null or the conversions to integer or float failed, return null.
Unary Operators
| operator | description |
|---|---|
| + | Plus |
| - | Minus |
Syntax
operator value
- value
- value