LN(a)
Returns the natural logarithm (base e) of a.
Parameters
a(REAL)
The input value.
Return Value
Returns a REAL.
Remarks
If a is less than zero, the task will fault. An error will be logged in the Event Log and the user program running on the task will stop.
Examples
LN(1.0) returns 0.0
LN(2.718282) returns 1.0.
See Also
Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion