nanos world API Reference Unofficial documentation
Static function Shared Native

math.log

Returns the inverse of this. <code>math.exp(1)</code> returns <code>e</code>

Syntax

Lua
math.log(x, base)

Parameters

Name Type Default Description
x number The value to get the base from exponent from.
base number The logarithmic base.

Returns

  • number