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
В | Copy Code |
---|---|
CLEAR ? LOG(1) && Displays 0.00 STORE EXP(2) TO gneSquare ? LOG(gneSquare) && Displays 2.00 |