Milltronics PL-551 Technické informace Strana 338

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 441
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 337
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
Zobrazit stránku 337
1 2 ... 333 334 335 336 337 338 339 340 341 342 343 ... 440 441

Komentáře k této Příručce

Žádné komentáře