LN

The function LN returns the numerical approximation of the natural logarithm of a given number.

This function takes a Number as input. It returns another Number: the natural logarithm of the given number.

Declaration

LN(number) -> nat_log

 

Parameters

number (required, type: Number)
Any positive number.

Return Values

nat_log (type: Number)
The natural logarithm of the given number.

Example

The following example calculates a numerical estimation of the natural logarithm of 2, or loge(2):

LN(2) -> 0.6931471805599453