chore: same number format for Power L1..L3 as for Power (#14688)

This commit is contained in:
StefanSchoof 2024-07-04 18:39:45 +02:00 • committed by GitHub
parent 2cd0834716
commit f938588c50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,7 +74,7 @@ func (d *dumper) Dump(name string, v interface{}) {
if p1, p2, p3, err := v.Powers(); err != nil {
fmt.Fprintf(w, "Power L1..L3:\t%v\n", err)
} else {
fmt.Fprintf(w, "Power L1..L3:\t%.3gW %.3gW %.3gW\n", p1, p2, p3)
fmt.Fprintf(w, "Power L1..L3:\t%.0fW %.0fW %.0fW\n", p1, p2, p3)
}
}