2.5.4.59 Ln

The Ln function performs the natural logarithm calculation.

ABNF:

 Ln = val " LN():128"

Required Arguments:

Name: Arg1

Type: vDouble

An argument that specifies the operand of the calculation.

Return Value:

Type: vNum, PtgErr

This function returns a vNum containing the natural logarithm of Arg1. The unit of the return value is equal to the unit of Arg1. If Arg1 is less than or equal to zero, the function returns a PtgErr with an error code of #NUM!.