Author Topic: Gauge component, show an integer to 1 decimal place  (Read 606 times)

Dr pepper

  • Newbie
  • *
  • Posts: 5
    • View Profile
Gauge component, show an integer to 1 decimal place
« on: July 28, 2021, 09:43:33 AM »
I'm using the gauge function to show a temperature, it comes from the controller as temp X 100, so 1 is 0.01% and 100 is 1%and so on.
I set the scale factor to 0.01 which displays the temp to the nearest degree, then I tried to set numeric format to 0.0 but I get a type error, presumably because the variable is a integer not a float.
Can I get the gauge to show 1 decimal place?