ABS/de

(Difference between revisions)
Jump to: navigation, search
m (1 revision)
((**COPIED FROM ENGLISH PAGE**) =)
Line 1: Line 1:
== (**COPIED FROM ENGLISH PAGE**) === <span class="f_Header">Action</span> =
+
= <span class="f_Header">Funktion</span> =
  
Returns the absolute value of a numeric signed variable.
+
Gibt den Absolutwert einer vorzeichenbehafteten numerischen Variablen zurück.
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>

Revision as of 21:49, 3 March 2013

Contents

Funktion

Gibt den Absolutwert einer vorzeichenbehafteten numerischen Variablen zurück.

 

 

Syntax

var = ABS(var2)

 

 

Remarks

Var

Variable that is assigned with the absolute value of var2.

Var2

The source variable to retrieve the absolute value from.

 

 

var : Integer , Long, Single or Double.

var2 : Integer, Long, Single or Double.

 

 

Notice.jpg
 The absolute value of a number is always positive.

 

 

See also

NONE

 

 

ASM

Calls: _abs16 for an Integer and _abs32 for a Long

Input: R16-R17 for an Integer and R16-R19 for a Long

Output:R16-R17 for an Integer and R16-R19 for a Long

 

Calls _Fltabsmem for a single from the fp_trig library.

 

 

Example

Dim a as Integer, c as Integer

a =-1000

c = Abs(a)

Print c

End

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language