ln: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Corrected category.)
m (Added version.)
Line 1: Line 1:
{{MacroFunction
{{MacroFunction
|name=ln
|name=ln
|version=1.3b36
|description=
|description=
Returns the [[wp:Natural_logarithm|natural logarithm]] of a number.
Returns the [[wp:Natural_logarithm|natural logarithm]] of a number.

Revision as of 07:38, 9 March 2009

ln() Function

Introduced in version 1.3b36
Returns the natural logarithm of a number.

Usage

[h: val = ln(num)]

Example

[r: ln(5)]
Returns 1.6094379124341002817999424223671667277812957763671875