---
title: "log · RUAL Documentation"
description: "Returns the base logarithm of a number"
canonical: https://docs.rual.nl/block-types/math/number_math_log
language: en
---

# log

This block is part of the [`math`](https://docs.rual.nl/block-types/math) group and was last modified in core [`v13.0.7`](https://docs.rual.nl/core-versions/130007).

Returns the base logarithm of a number

- number_0 required `number`

- Number `number`

A typical wiring for [Log](https://docs.rual.nl/block-types/math/number_math_log): the `number` out pin feeds [cast to value](https://docs.rual.nl/block-types/type%20casting/number_convert_to_value).

![Studio canvas example for the Log block: typical wiring for Log.](https://docs.rual.nl/canvas-examples/number_math_log.png)

### Version history

Introduced in [`v13.0.7`](https://docs.rual.nl/core-versions/130007).
