Denso RC5 Specifications Page 449

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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.
Page view 448
1 2 ... 444 445 446 447 448 449 450 451 452 453 454 ... 691 692

Comments to this Manuals

No comments