# LOG10

Returns the base 10 logarithm of x.

## Syntax

```
LOG10(input)
```

## Arguments

| Name | Type | Mandatory |
| --- | --- | --- |
| input | numeric | true |

## Returns

Returns a `double` value.

***

## Examples

| input | output |
| --- | --- |
| 100 | 2.0 |
| 0.5 | -0.30102999566398114 |
| 1 | 0.0 |
| 0 | "-Infinity" |
| -2 | nan() |