RPTools

Personal tools
From MapToolDoc

ln

Contents

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

  1. ln(num)

Parameter

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

Example

Example 1

  1. [r: ln(5)]

Returns: 1.6094379124341002817999424223671667277812957763671875

Example 2

  1. [r: ln(23)]

Returns: 3.13549421592914967504839296452701091766357421875

See Also

Natural logarithm, power()