abs x

Operand types

x: Number

Type of returned value

Description

Absolute value of x.

Used In

OFP/ArmA

Example

_a = abs -3 ..........Result is 3

Advertisement