Arma 3 Scripting

Command in Math

log

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

Description

Base-10 logarithm of x.

Syntax

log x

Parameters:

Returns: Number

Examples

Example 1

_log = log 10;

Example 2

_log = log abs -10;

Example 3

finite log -10; // Returns false

See also

Math Commands