Ln
(Engine-Level Function)
Description: | Returns the natural logarithm (base e) of a value. |
Returns: | Numeric |
Usage: | Script or steady state. |
Function Groups: | Generic Math |
Related to: | Exp | Log | Pow |
Format: | Ln(X) |
Parameters: |
X |
Required. Any numeric expression. The value must be strictly greater than 0 for the result to be valid. |
Comments: | This is the inverse function to Exp. |
Example:
a = Exp(23); b = Ln(a);
In this example, b will be equal to 23.