ln
| ln | 
  Purpose
 
  Synopsis
 
function ln(r:real):real
 
  Argument
 
| 
     r 
     | 
     Real value the function is applied to. This value must be positive.
     | 
  Return value
 
 Natural logarithm of the argument.
  Example
 
 The following example provides a function for calculating logarithms to any (positive) base:
 
function logn(base,number: real):real if (number > 0 and base > 0) then returned:= ln(number)/ln(base) else exit(1) end-if end-function
  Related topics
 
 
