LN
Category: Math & numeric
Overview
| Description | Returns the natural logarithm of a number (logarithm with base e ~2.718), while retaining all Dimensions. Use when you need a natural logarithm transformation for positive numeric values. |
| Syntax | LN('Node') |
| Parameter | Node: Input node, specified using the node name in single quotes (e.g. 'Profit') |
Examples
Natural logarithm of integer and decimal values
This example shows the natural logarithm computed for a node with integer and decimal values.
Input node: A
| Year | Value |
|---|---|
| 2025 | 2 |
| 2026 | 3 |
| 2027 | 4.5 |
Formula: LN('A')
| Year | → LN Result |
|---|---|
| 2025 | 0.69 |
| 2026 | 1.10 |
| 2027 | 1.50 |
Related Functions
| Function | When to use instead |
|---|---|
| LOG | When you need a logarithm with a specific base instead of the natural logarithm. |
| EXP | When you need exponentiation with base e, or the inverse operation of LN. |