| $ZLN |
| Syntax |
| Description |
$ZLN returns the natural logarithm (base e) value of n.
| Parameter |
| n | Any positive non-zero number, which can be specified as a value, a variable, or an expression. Specifying zero or a negative number returns a <ILLEGAL VALUE> error. |
| Examples |
USER>SET x=$ZEXP(1)
USER>WRITE x
2.718281828459045236
USER>WRITE $ZLN(x)
1
USER>WRITE $ZLN(1)
0
USER>WRITE $ZLN(2)
.6931471805599453089
USER>WRITE $ZLN(0)
<ILLEGAL VALUE>
| Related Topics |