Error getting tags :
error 404Error getting tags :
error 404 ln | revDocs | RunRev
Product Edition
Version
ln
Basics
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

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.

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`

``` ```
``` ```
``` Lessons User Comments Your Comment Click here to log in and post a comment ```
``` ```
``` ```
``` Store LiveCode LiveCode Features Mobile Embedded LiveCode Desktop Server Developer Program Solutions SMEs Education Microsite Enterprise Game Academy Microsite Showcase Showcase Case Studies Get Started Developers Lessons & Tutorials Documentation Community Resources Developer Conference Newsletters Company About Us Company News Blog Management Team Consultants Careers Press Room Contact us Policies EULA Privacy Policy Environmental Policy Blog Copyright RunRev Ltd 2009 All rights reserved. ```
``` ```
``` ```
``` ```
``` ```
``` ```