# Converting a float value to a string

**URL:** <https://discourse.nodered.org/t/converting-a-float-value-to-a-string/14066>\
**Category:** General\
**Created:** [6 August 2019 20:56 UTC](https://discourse.nodered.org/t/converting-a-float-value-to-a-string/14066 "2019-08-06T20:56:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keith](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@Keith](https://discourse.nodered.org/u/Keith)\
**Post date:** [6 August 2019 20:56 UTC](https://discourse.nodered.org/t/converting-a-float-value-to-a-string/14066/1 "2019-08-06T20:56:29Z")

</div>

Hello, I am trying ti display the output of the ds18B20 node on a LCD display using the LCD20x4 node.

I am almost there, except that I cannot seem to convert the float output of the ds18b20 node to a string format so that the LCD20x4 node will accept it.

I have had a go at the change node, however I'm not sure i'm on the right tram. Any help or suggestions would be appreciated.

Thanks Keith.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [6 August 2019 21:18 UTC](https://discourse.nodered.org/t/converting-a-float-value-to-a-string/14066/2 "2019-08-06T21:18:53Z")

</div>

try it with jsonata

 ![59](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/a/a31927afe66b5da31c458c58d32c32c54ed8eaca.jpeg)

---

<div class="post-metadata">

**Author:** ![Keith](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@Keith](https://discourse.nodered.org/u/Keith)\
**Post date:** [7 August 2019 10:58 UTC](https://discourse.nodered.org/t/converting-a-float-value-to-a-string/14066/3 "2019-08-07T10:58:37Z")

</div>

Thanks bakman2, you hit the nail on the head. It worked first time. Thanks for your help.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [6 January 2022 22:30 UTC](https://discourse.nodered.org/t/converting-a-float-value-to-a-string/14066/5 "2022-01-06T22:30:59Z")

</div>


