abs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (=)
m (changed global to local variable to make clear the variable)
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


| [[Number]] |= Return value
| [[Number]] |= Return value

Revision as of 07:02, 27 August 2007

Hover & click on the images for description

Description

Description:
Absolute value of a real number
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_x = abs -3
returns 3

Additional Information

See also:
See also needed

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