# ln({n})

Returns the base e (Euler's number) logarithm of a number *n*. The value *n* can be any positive, non-zero numeric value in the range 0 < *n* <= 1.797e308.

`ln({n})` takes the following syntax.

```nolang
SELECT ln(NUMERICVALUE) as ALIASNAME
FROM DATASET;
```

## Example

This example returns the base e logarithm for the number 8.

```nolang
SELECT ln(8.0) as LnExample FROM Superstore
LIMIT 1;
```

| LnExample |
| --------- |
| 2.079     |
