abs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 41: Line 41:
[[Category:Scripting Commands OFP 1.46|ABS]]
[[Category:Scripting Commands OFP 1.46|ABS]]
[[Category:Scripting Commands ArmA|ABS]]
[[Category:Scripting Commands ArmA|ABS]]
[[Category:Command_Group:_Math]]

Revision as of 21:36, 9 August 2006

Hover & click on the images for description

Description

Description:
Absolute value of a real number
Groups:
Uncategorised

Syntax

Syntax:
abs x
Parameters:
x: 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