---
title: "invert · RUAL Documentation"
description: "Turns a positive number into a negative one and a negative into a positive"
canonical: https://docs.rual.nl/block-types/number/number_negation
language: en
---

# invert

This block is part of the [`number`](https://docs.rual.nl/block-types/number) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

Turns a positive number into a negative one and a negative into a positive

- number required `number`

- Number `number`

| `additive inverse` |
| --- |
| `negation` |

A typical wiring for [invert](https://docs.rual.nl/block-types/number/number_negation): 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 invert block: typical wiring for invert.](https://docs.rual.nl/canvas-examples/number_negation.png)

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
