Skip to main content

Mathf.Log(number f)

Returns the natural (base e) logarithm of a specified number.

Parameters:

NameTypeDescription
fnumberValue

Returns:

typeDescription
numberthe natural (base e) logarithm of a specified number.

Usage

---@type number
local f;


local val0 = Mathf:Log(f)

a specified base. |

Usage

---@type number
local f;

---@type number
local p;


local val0 = Mathf:Log(f, p)