LOG
Top  Previous  Next

(LOG(arg))

Returns log base e of arg (where e = 2.71828182845905). Arg must be a positive value and have a DOUBLE, REAL, NUMERIC, or INTEGER data type. LOG performs the inverse operation of EXP.

In the following example, the value of vlog is 0.6931.

SET VAR vlog = (LOG(2))