LOG
Syntax:
LOG ( x [ , base ] )
Description: Computes the logarithm of x to the base base.
Arguments:
Name |
Type |
Description |
---|---|---|
x |
number |
The positive real number for which the logarithm is being computed. |
base |
number |
The base of the logarithm. If omitted, base 10 is assumed. |
Return Type and Value: number – The logarithm of x.
However, if
x is zero or negative,
#NUM!
is returned.base is zero or negative,
#NUM!
is returned.
example: