System information
SECTION SIX - PARAMETRIC PROGRAMMING
Arithmetic operators
The following list shows the available arithmetic operators.
Operator
Operation
+ addition
- subtraction
* multiplication
** exponent
/ division
MOD remainder
72/8 = 9.0 72 DIV 8 = 9
DIV integer division
Note: The value of A DIV B is the mathematical quotient of A/B with any fractional portion or
remainder dropped.
Examples: 3/2 = 1.5 3 DIV 2 = 1
24/5 = 4.8 24 DIV 5 = 4
5.46/2.1 = 2.6 5.46 DIV 2.1 = 2
Operator
The MOD returns the remainder obtained by dividing its two numbers.
3 MOD 2 = 1 remainder = 1
24 MOD 5 = 4 remainder = 4
72 MOD 8 = 0 remainder = 0
3.57 MOD 2.1 = 1.47 Fract (3.57 รท 2.1 =.7)
(.7 x 2.1 = 1.47)
Relational operators
The following list shows the available relational operators.
Operation
NE or <> not equal
GT or > greater than
EQ or = equal
LT or < less than
LE or <= less or equal
GE or >= greater or equal
324










