abs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 84119 by kenoxite on 2014-09-25T07:26:29Z)
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Absolute value of a real number |= Description
| Absolute value of a real number |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Number]] <nowiki>=</nowiki> '''abs''' n |= Syntax
| [[Number]] <nowiki>=</nowiki> '''abs''' n |SYNTAX=


|p1= n: [[Number]] |= Parameter 1
|p1= n: [[Number]] |= Parameter 1


| [[Number]] |= Return value
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________


|[[Math Commands]] |= See also
|[[Math Commands]] |SEEALSO=


}}
}}

Revision as of 12:24, 7 April 2019

Hover & click on the images for description

Description

Description:
Absolute value of a real number
Groups:
Uncategorised

Syntax

Syntax:
Number = abs n
Parameters:
n: Number
Return Value:
Number

Examples

Example 1:
_n = abs -3; Returns 3

Additional Information

See also:
Math Commands

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section