math.log

From RPTools Wiki
Revision as of 22:36, 9 February 2023 by Conversion script (talk | contribs) (Conversion script moved page math.log to Math.log without leaving a redirect: Converting page title to first-letter uppercase)
Jump to navigation Jump to search

math.log() Function

Introduced in version 1.3.b48 (estimate)
Find the natural logarithm of a number. A non-numeric argument will produce an error.

Usage

[h: result = math.log(num)]

Examples

[r: math.log(1)]
[h: e = math.e()]
[r: math.log(e)]

Returns:

 0
 1.0

See Also