The familiar rules of precedence � multiplication and division before addition and subtraction �- apply for arithmetic operators. The "Modulo" operator is evaluated first followed by multiplication/division ("*" and "/") and finally addition and subtraction ("+" and "-"). Example: NET_PRICE+(NET_PRICE*0.19)
Operator |
Meaning |
Data types |
+ |
addition |
string, date, number |
- |
subtraction |
date, number |
* |
multiplication |
number |
/ |
division |
number |
% |
modulo (remainder with division) |
number |