2021-03-06 05:37 AM
Hi,
i am new with node-red functionality and i want to decrease the digits in a Gauge.
When i start the Dashboard i get the temperature in e.g. 21.77615442345 degrees. And i want to show it with 2 digits e.g. 21.78 degrees.
Ho can i do this?
Solved! Go to Solution.
2021-03-06 06:03 AM
got it... :)
in the Gauge-node (Value format) type in {{value | number:2}}
will round the value by 2 digits.
2021-03-06 05:53 AM
What produces the printout. Maybe some format string like %6.3f will help.
2021-03-06 06:03 AM