Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$LN^XLFMTH(): Natural Log (Base e)

Reference Type: Supported, Category: Math Functions, ICR#: 10105

Description

The $$LN^XLFMTH extrinsic function returns the natural log of x (Base e).

Format

  $$LN^XLFMTH(x[,n])

Input Parameters

x:

(required) Number for which you want the natural log.

n:

(optional) The precision for the function. Precision means the detail of the result, in terms of number of digits.

Output

returns:

Returns the natural log of a number.

Example

>S X=$$LN^XLFMTH(4.627426)

>W X
1.532000774