SPL supports the +, -, *, / and % C/C++ like arithmetic operators. The \ operator performs right division where a \ b == a / (1/b).
Operator |
Description |
+ |
add |
- |
subtract |
* |
multiply |
/ |
divide |
\ |
right divide |
% |
modulo |