> For the complete documentation index, see [llms.txt](https://shedmate.gitbook.io/shedmate-help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shedmate.gitbook.io/shedmate-help/setting-up-shedmate/costing-database-and-pricing-calculations/variables/mathematical-functions/ln.md).

# LN

The LN function in Shedmate returns the natural logarithm of a number. The natural logarithm is the base e logarithm (approximately 2.71828).

### Syntax:

```
ln(number)
```

### Parameters:

```
number (required): The positive number for which the natural logarithm will be calculated.
```

### Usage example:

<figure><img src="https://lh7-us.googleusercontent.com/00bJZDzsvm-DUQzySrvbris1l8c5kIGOrxxNxu6jhuwIC_fLLMdRHzRsmfzIiHtdXuAa7Fb-b0ieHcoxAYk0AUj6txMfEY86XmY92JfoSKthgx9kqtEy4dAABp5GrRKGOqfoFV-ghOpTDZ-DoayH3jk" alt=""><figcaption></figcaption></figure>
