Condividi tramite


LOG( ) Function

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

LOG(nExpression)

Return Values

Numeric

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.

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

EXP( ) | LOG10( ) | SET DECIMALS