PickBASIC / FlashBASIC
ln() function
.mdThe ln() function returns the natural logarithm (base e, which is 2.718281828 rounded to precision) of a given numeric expression.
Syntax
ln(num.exp)Parameter(s)
| num.exp | Number to be converted to its natural logarithm form. |
Description
If the expression is less than or equal to 0, ln returns a 0 and prints a run-time error message.
This function is the inverse of the exp() function.
Example(s)
Natural logarithm
print ln(1) ;* 0
See also
Referenced by
3 topics mention ln() function in its description.