Microsoft Teams ( alert value .. decimal how to restrict to 2 digits and add %)

New to grafana please bare me… new bee in grafana world

[Alerting] Windows Disk Usage Critical

Details

Server XX.Xx.XX.XX:9182 has high disk used percent.
D: Drive
94.1265991731502

/Chetuk

Welcome @chetuk
If your data happens to have an unnecessarily large number of digits to the right of the decimal (such as 94.1265991731502 shown above), and you want your Grafana alerts to be more legible, try using {{ printf “%.2f” $values.D.Value }} For example, in annotation Summary, we could write the following:

Server {{ $values.D.Labels.Source }} has a disk value of {{ printf "%.2f" $values.D.Value }} percent.