VBA für Excel

Operators (mathematisch)

^ Exponentiation
- Unary minus, 2*-3 = -6
* Multiply, Result type is Integer, Double, etc.
/ Divide, Single or Double result
\ Integer divide, result truncated, 5\3 = 1
Mod Modulus (remainder), 5 Mod 3 = 2
+ - Add and subtract

Diskussion