Add missing rounding func

This commit is contained in:
Christoph Kluge 2024-02-09 17:06:46 +01:00
parent 2036069051
commit c897c8e56b

View File

@ -44,7 +44,7 @@
const avgs = jm.metric.series.map(jms => jms.statistics.avg) const avgs = jm.metric.series.map(jms => jms.statistics.avg)
mv = round(mean(avgs), 2) mv = round(mean(avgs), 2)
} else { } else {
mv = jm.metric.series[0].statistics.avg mv = round(jm.metric.series[0].statistics.avg, 2)
} }
} }