Remove decimal Digits on display

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.

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/

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

1 Like