The LOG() function returns the natural logarithm (log to the base of e) of the argument.
DECLARE FUNCTION LOG AS FLOAT (num AS FLOAT) SHARED STATIC INLINE
PRINT LOG(1.0) ' outputs a number very close to zero PRINT LOG(10.0) ' outputs 2.30259 PRINT LOG(100.0) / LOG(10.0) ' outputs 2