# Remove decimal Digits on display

**URL:** <https://forum.xod.io/t/remove-decimal-digits-on-display/6859>\
**Category:** XOD Programming Questions\
**Created:** [May 7, 2024, 5:18pm UTC](https://forum.xod.io/t/remove-decimal-digits-on-display/6859 "2024-05-07T17:18:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![axy](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@axy](https://forum.xod.io/u/axy)\
**Post date:** [May 7, 2024, 5:18pm UTC](https://forum.xod.io/t/remove-decimal-digits-on-display/6859/1 "2024-05-07T17:18:28Z")

</div>

Hello,

I’m new Here and I’m really fascinated about this community.

But can you help me please…

Can anyone show me how to remove decimal digits from a LCD display?

I only need “20” and not “20.00” shown.

Thank you a Lot in advance.  
Torsten.

---

<div class="post-metadata">

**Author:** ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)\
**Post date:** [May 7, 2024, 7:29pm UTC](https://forum.xod.io/t/remove-decimal-digits-on-display/6859/2 "2024-05-07T19:29:38Z")

</div>

Hi Torsten,

You need to use the format-number node with the DIG input set to zero:  
[https://xod.io/libs/xod/core/format-number/](https://xod.io/libs/xod/core/format-number/)

More information on string formatting here:  
[https://xod.io/docs/tutorial/210-string-formatting/](https://xod.io/docs/tutorial/210-string-formatting/)

---

<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:** [June 6, 2024, 7:30pm UTC](https://forum.xod.io/t/remove-decimal-digits-on-display/6859/3 "2024-06-06T19:30:34Z")

</div>

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