Purpose
Get
the natural logarithm of a value.
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)
endif
endfunction
Related topics
If you have any comments or suggestions about these pages,
please send mail to support@fico.com.
© Copyright 20012013 Fair Isaac Corporation. All rights reserved.