# log10({n})

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

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

```nolang
SELECT log10(NUMERIC_VALUE) as ALIASNAME
FROM DATASET;
```

## Example

This example returns the base 10 logarithm for the number 5.

```nolang
SELECT log10(5) as logExample FROM Superstore
LIMIT 1;
```

| logExample |
| ---------- |
| 0.698      |
