# Printing to LCD without inverted Commas

**URL:** https://discourse.nodered.org/t/printing-to-lcd-without-inverted-commas/35444
**Category:** Hardware
**Created:** [6 November 2020 13:10 UTC](https://discourse.nodered.org/t/printing-to-lcd-without-inverted-commas/35444 "2020-11-06T13:10:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)
#### Post date: [6 November 2020 13:10 UTC](https://discourse.nodered.org/t/printing-to-lcd-without-inverted-commas/35444/1 "2020-11-06T13:10:42Z")

</div>

We are trying to print msg.payload to an LCD screen.  
msg.payload = "2151921480"

This prints the entire string to the LCD, is there a way to not print the inverted commas:  
2151921480

tried using msg.payload.Value, still no luck.

thanks!

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [6 November 2020 13:50 UTC](https://discourse.nodered.org/t/printing-to-lcd-without-inverted-commas/35444/2 "2020-11-06T13:50:12Z")

</div>

How are you printing it to the screen? The payload does not include the quotes so how you are printing it must be adding them.

---

<div class="post-metadata">

### Author: ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)
#### Post date: [6 November 2020 15:34 UTC](https://discourse.nodered.org/t/printing-to-lcd-without-inverted-commas/35444/3 "2020-11-06T15:34:43Z")

</div>

Try msg.payload =Number(msg.payload)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [5 January 2021 15:35 UTC](https://discourse.nodered.org/t/printing-to-lcd-without-inverted-commas/35444/4 "2021-01-05T15:35:11Z")

</div>

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