# Adding two values

**URL:** <https://discourse.nodered.org/t/adding-two-values/32784>\
**Category:** General\
**Created:** [12 September 2020 16:32 UTC](https://discourse.nodered.org/t/adding-two-values/32784 "2020-09-12T16:32:29Z")\
**Posts on this page:** 1\
**Showing post:** 34

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [26 September 2020 10:20 UTC](https://discourse.nodered.org/t/adding-two-values/32784/34 "2020-09-26T10:20:06Z")

</div>

> [@Becker](#):
>
> I choosed it before it goes in the buffer parser!

and there is your problem

the data required to be fed into the buffer parser is the data from the modbus node - not your hacked function (your function discards important parts of the data that make up a singed 32 bit value)

Just like i posted in my demo last week and just like Andy said

> [@UnborN](#):
>
> just make sure you are sending the modbus **msg.responseBuffer.buffer** to it

---

_[View the full topic](https://discourse.nodered.org/t/adding-two-values/32784)._
