Denso RC5 Dokumentacja Strona 449

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 692
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 448
1 2 ... 444 445 446 447 448 449 450 451 452 453 454 ... 691 692

Komentarze do niniejszej Instrukcji

Brak uwag