ln: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 16: Line 16:
[r: ln(5)]
[r: ln(5)]
</source>
</source>
Returns: {{code|1.6094379124341002817999424223671667277812957763671875}}
'''Returns:''' {{code|1.6094379124341002817999424223671667277812957763671875}}




Line 22: Line 22:
[r: ln(23)]
[r: ln(23)]
</source>
</source>
Returns: {{code|3.13549421592914967504839296452701091766357421875}}
'''Returns:''' {{code|3.13549421592914967504839296452701091766357421875}}


|also=
|also=

Revision as of 14:12, 9 March 2009

ln() Function

Introduced in version 1.3b36
Returns the exponent that the irrational constant(approx. 2.718281828) would have to be raised to in order to equal the parameter.

Usage

ln(num)

Parameter

  • num - The number used with the irrational constant to calculate the exponent.

Example

[r: ln(5)]

Returns: 1.6094379124341002817999424223671667277812957763671875


[r: ln(23)]
Returns: 3.13549421592914967504839296452701091766357421875

See Also