ln() Function

Returns the natural logarithm of the specified number, which is the power that e must be raised to in order to equal the specified number.

Syntax

ln( number )

number: (Decimal) The number in which the natural logarithm will be returned.

Returns

Decimal

Examples

You can experiment with this function in the test box below.

Test Input

ln(10) returns 2.30258

Open in Github

On This Page

FEEDBACK