Arithmetic
You can combine character
strings that are valid numbers (see Tokens)
using the arithmetic operators:
- +
- Add
- -
- Subtract
- *
- Multiply
- /
- Divide
- %
- Integer divide (divide and return the integer part of the result)
- //
- Remainder (divide and return the remainder—not modulo, because the result may be negative)
- **
- Power® (raise a number to a whole-number power)
- Prefix -
- Same as the subtraction: 0 - number
- Prefix +
- Same as the addition: 0 + number