> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/reference/grid-language/functions/logn.md).

# logn()

logn() returns the natural logarithm of a number for use in grid formulas.

The Logn function in Origami Tech calculates natural logarithmic values for advanced algorithmic and statistical analysis.

## `logn`(*x*: *decimal*) -> *decimal*

Natural log. Returns `decimal`
