Arma 3 Scripting

Command in Math

sqrt

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns square root of x.

Syntax

sqrt x

Parameters:

Returns: Number

Examples

Example 1

private _squareRoot = sqrt 9;  // returns 3

See also

Math Commands · a %5E b