Returns the natural logarithm of an arithmetic expression.
LOG(x)
x is a floating-point value greater than zero.
LOG(7.389056) /* returns 2 */
An LOG operation on floating-point decimal data is actually performed using the floating-point binary operation. Thus, the range of the operands and the result of the operation are limited to the ranges for floating-point binary numbers.
Description
The LOG function returns the natural logarithm of x. Note that LOG(x) is the inverse of EXP(x), that is, LOG(EXP(x)) = x = EXP(LOG(x)).
The result has the same data type as x.