Error getting tags :
error 404Error getting tags :
error 404 ln | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
ln
Basics
Expander triangle
Type
Function
Syntax
the ln of number ln(number)
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the natural logarithm of a number.
Examples

ln(1) -- returns zero
ln(0.15) -- returns -1.89712
ln(10) -- returns 2.302585

Additional Comments
Expander triangle

Use the ln function to obtain a base e logarithm.

Parameters:

The number is a positive number, or an expression that evaluates to a positive number.

Value:

The ln function returns a number.

Comments:

The natural logarithm of a number is the power to which e must be raised to obtain the number.

The transcendental number e appears in many mathematical formulas.

To find the logarithm of a number in any base, use the following function:

function logarithm theBase,theNumber

return ln(theNumber)/ln(theBase)

end logarithm

User Comments
Expander triangle