abs

From Bohemia Interactive Community
Revision as of 10:45, 17 September 2020 by R3vo (talk | contribs)
Jump to navigation Jump to search
Introduced with Operation Flashpoint version 1.001.00Arguments of this scripting command have to be local to the client the command is executed on
Hover & click on the images for descriptions

Description

Description:
Absolute value of a real number

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
Groups:
Math

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section