Unit and Number of decimals

  • What Grafana version and what operating system are you using?
    9.4.7 on Docker on Synology NAS

  • What are you trying to achieve?
    I have a value showing the solar energy from my solar roof. The value can be from some watts so some kilowatts. If the value is low (watts) I want to have no decimals attached. If the unit is changing to kilowatt I want to attach 1 decimal.

My question: is there any option to change the number of decimals in dependency from the value or the unit?