mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-08 23:12:16 +02:00
limit percentages to two decimals
This commit is contained in:
parent
efb71c18a1
commit
f40e46ac92
1 changed files with 2 additions and 2 deletions
|
@ -58,11 +58,11 @@ ColumnLayout {
|
|||
}
|
||||
Value {
|
||||
label: "Overall"
|
||||
source: stream.lossRate + "% (" + stream.lossCount + " lost)"
|
||||
source: stream.lossRate.toFixed(2) + "% (" + stream.lossCount + " lost)"
|
||||
}
|
||||
Value {
|
||||
label: "Window"
|
||||
source: stream.lossRateWindow + "% (" + stream.lossCountWindow + " lost)"
|
||||
source: stream.lossRateWindow.toFixed(2) + "% (" + stream.lossCountWindow + " lost)"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue