# Number value inverting node

**URL:** <https://forum.xod.io/t/number-value-inverting-node/3846>\
**Category:** XOD Programming Questions\
**Created:** [April 24, 2020, 6:13pm UTC](https://forum.xod.io/t/number-value-inverting-node/3846 "2020-04-24T18:13:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [April 24, 2020, 6:13pm UTC](https://forum.xod.io/t/number-value-inverting-node/3846/1 "2020-04-24T18:13:13Z")

</div>

Is there any node in xod that inverts a value from positive to negative? I can’t find it and I don’t know what it’s called in English.

Example input 8 and the output would be -8  
It is something easy to implement in c ++ but if it is a native xod node I would like to use it.

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [April 24, 2020, 6:23pm UTC](https://forum.xod.io/t/number-value-inverting-node/3846/2 "2020-04-24T18:23:00Z")

</div>

Use the multiply node 8 x -1 = -8

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [April 24, 2020, 6:26pm UTC](https://forum.xod.io/t/number-value-inverting-node/3846/3 "2020-04-24T18:26:02Z")

</div>

I had thought, also to make a node that sends the negative value of input to the output.  
I think that is the simplest  
thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [April 26, 2020, 6:26pm UTC](https://forum.xod.io/t/number-value-inverting-node/3846/4 "2020-04-26T18:26:25Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
