Truncate a temp output to 2 digits

I am using a dht 11 temp sensor and would like to change 72.00 deg to 72 deg to save display digits. I have used round to eliminate the decimals from jumping around but want to drop the .00 digits. Is there a node to do this.

Use the Pad with Zeros node and set it to 2 as in two digits.

format-number with DIG = 0 will do the same thing.

1 Like

Thanks for the help i used format and it worked

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