Denso RC5 Specifikace Strana 449

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 692
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 448
Chapter 15 Functions
15-1
15.1 Arithmetic Function
ABS (Function) [Conforms to SLIM]
Function
Obtains the absolute value of an expression value.
Format
ABS (<Expression>)
Explanation
This statement obtains the absolute value of the value designated in
<Expression>.
If <Expression> includes a double precision real numeral, the value obtained
becomes double precision. Otherwise, a single precision value is obtained.
Explanation: The absolute value is a numeric value of which the sign
is removed. For example, both ABS (-1) and ABS (1)
return 1.
Related Terms
Example
DEFSNG lf1, lf2, lf3, lf4
lf1 = ABS(-2) 'Assigns the absolute value of –2 to If1.
lf2 = ABS(lf3/lf4) 'Assigns the absolute value of (lf3/lf4) to lf2.
Zobrazit stránku 448
1 2 ... 444 445 446 447 448 449 450 451 452 453 454 ... 691 692

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

Žádné komentáře