LOG( ) Function

Returns the natural logarithm (base e) of the specified numeric expression.

LOG(nExpression)

Parameters

  • nExpression
    Specifies the numeric expression for which LOG( ) returns the value of x in the equation e^x = nExpression. nExpression must be greater than 0.

Return Value

Numeric

Remarks

The base for the natural logarithm is the constant e. The number of decimal places returned in the result is specified with SET DECIMALS.

Example

CLEAR
? LOG(1)  && Displays 0.00
STORE EXP(2) TO gneSquare
? LOG(gneSquare)  && Displays 2.00

See Also

Reference

EXP( ) Function

LOG10( ) Function

SET DECIMALS Command

Other Resources

Functions