Mathematical Operators
Previous  Top  Next


The mathematical operators can be used among variables of real type (Float) or of integer type (Integer), sometimes with string variables as it appears in the table below.

Operation Type   Operator   Variable Type   
Adding         +      Integer, Float, String   
Subracting      -      Integer, Float   
Multiply         *      Integer, Float   
Divide         /      Float   
Integer Division      div      Integer   
Modulus      mod      Integer   

The mathematical operator Div produces a integer quotient rounded by truncation.
The mathematical operator Mod returns the rest of division.