When I query a simple value, the grafana rounds it automatically. I found the decimal setting in grafana and its default state is “auto”. But when I perform an operation with these values, it already shows an accurate value. Then I trie to add a 0.0 or multiply with 1.0 but nothing happens, the simple values stay rounds.
Root cause: “Auto” for Decimals only affects display formatting, not the underlying data. Grafana automatically determines the displayed precision, which can round values more aggressively than you expect.
The +0.0 / *1.0 approach doesn’t help because those are no-op math operations → they don’t change how Grafana formats the displayed value.
Steps →
Go to Standard options (or a Field override if it’s only one field).
Set Decimals to a fixed value (e.g. 2 or 4) instead of Auto.
If setting a fixed number of decimals still doesn’t show the expected precision, it’s worth checking whether the value is already being rounded upstream → for example, in the query itself or by the datasource (such as integer division or the field being typed as an integer).

