webCOMAND

#LOG

Returns the exponent (or power) that you must raise the base e to in order to get the input number.

Prototype

#LOG($decimal)

Parameters

  • decimal - A decimal number in radians.
  • base - Optional logarithmic base to use (defaults to e and so to the natural logarithm).

Example

#LOCAL($Num, 10)
The number is #LOG($Num).

Result

The number is 2.302.

Related

#LN#EXP, PHP log()