LOG(num{,precis}{,ERR=lineref})
The LOG() function returns the common logarithm (base 10) of its argument.
|
Parameter |
Description |
|
number |
Argument to be processed. |
|
precis |
Numeric precision, an integer in the range of 1 to 16 (default is 6) that represents the number of decimal places desired in the result. |
|
ERR=lineref |
Branch to be taken if an error occurs during execution. |
The following defines the log of X:
1000 LET A=LOG(X)
The following defines the log of X with a precision of 16:
1000 LET A=LOG(X,16)
The following acts a counterpart to the LOG() function, allowing non-integer powers:
1000 LET A=B^3.45