> For the complete documentation index, see [llms.txt](https://docs.settlers-united.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.settlers-united.com/s4-lua-api-de/su-library-functions/su.math/su.math.log10.md).

# SU.Math.log10

## SU.Math.log10(value)

Gibt den dekadischen Logarithmus (Logarithmus zur Basis 10) zurück.

#### Parameter

* `value`: `number` – Positive reelle Zahl (größer als 0)

#### Rückgabewert

* `number` – Der Logarithmus zur Basis 10
* `-inf` ([SU.Math.isInf](/s4-lua-api-de/su-library-functions/su.math/su.math.isinf.md)): Bei Eingabe von 0
* `nan` (not a number, [SU.Math.isNan](/s4-lua-api-de/su-library-functions/su.math/su.math.isnan.md)): Bei negativen Eingaben

#### Beispiel

```lua
local log10Value = SU.Math.log10(100)    -- liefert 2.0
```
