ln | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Returns the natural logarithm of a number. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Control Structure: function Glossary: return, math operation Function: ln1, exp | ||||||
Description | Use the ln function to obtain a base e logarithm. 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:
If a math operation on finite inputs produces a non-finite output, an execution error is thrown. See math operations for more information. | ||||||
Tags | math |