◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index► ────────────────────────────────────────────────────────────────────────────── LOG Function Details Syntax LOG(numeric-expression) The numeric expression, n, must be greater than zero. The natural logarithm is the logarithm to the base e. The constant e is approximately equal to 2.718282. The LOG function calculates the natural logarithm with single- precision accuracy, unless the argument n is a double-precision value. In this case LOG is calculated with double-precision accuracy. You may calculate base-10 logarithms by dividing the natural logarithm of the number by the logarithm of 10. The following FUNCTION calculates base-10 logarithms: FUNCTION Log10(X) STATIC Log10=LOG(X)/LOG(10.#) END FUNCTION