Arma 3 Scripting

Command in Math

ln

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

Description

Returns the natural logarithm of x.

Syntax

ln x

Parameters:

Returns: Number

Examples

Example 1

_nlog = ln 10;

Example 2

_euler = exp 1;
_euler = ln _euler; // Returns 1

See also

Math Commands