# Encoding 4 byte Float value

**URL:** https://discourse.nodered.org/t/encoding-4-byte-float-value/4727
**Category:** General
**Created:** [9 November 2018 19:09 UTC](https://discourse.nodered.org/t/encoding-4-byte-float-value/4727 "2018-11-09T19:09:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![aabbas](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@aabbas](https://discourse.nodered.org/u/aabbas)
#### Post date: [9 November 2018 19:09 UTC](https://discourse.nodered.org/t/encoding-4-byte-float-value/4727/1 "2018-11-09T19:09:17Z")

</div>

Hi, I am trying to convert 4 byte float value to decimal.  
Here you find the encoding steps :

 ![Capture](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/5/5ee14b4ac36f8688c4897d3a36bc955145c9ddc4.png)

Thank you for help

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [9 November 2018 21:40 UTC](https://discourse.nodered.org/t/encoding-4-byte-float-value/4727/2 "2018-11-09T21:40:27Z")

</div>

so this is the 3rd time you have asked this question.

The second time which was earlier today, I linked to the first time which was in september and asked if the suggested answer then didn’t work?

> [@Encoding 4-byte signed value](https://discourse.nodered.org/t/encoding-4-byte-signed-value/4720/2):
>
> did the answer you were given last time you asked this question not work?

Perhaps you could answer the question?

---

<div class="post-metadata">

### Author: ![aabbas](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@aabbas](https://discourse.nodered.org/u/aabbas)
#### Post date: [9 November 2018 21:56 UTC](https://discourse.nodered.org/t/encoding-4-byte-float-value/4727/3 "2018-11-09T21:56:07Z")

</div>

For signed value it worked. But for 4 byte float value doesn’t work
