[Table of Contents] [Previous] [Next] [Index] [Home]
Page 114 out of 301 total pages

$ZLN

Syntax

$ZLN(n)


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


[Table of Contents] [Previous] [Next] [Index] [Home]
Page 114 out of 301 total pages

documentation@intersys.com
Copyright © 2001, InterSystems Corporation. All rights reserved.