diff --git a/components/lib/metergroup/MeterGroup.vue b/components/lib/metergroup/MeterGroup.vue index 4e0773d54..08a683988 100644 --- a/components/lib/metergroup/MeterGroup.vue +++ b/components/lib/metergroup/MeterGroup.vue @@ -62,7 +62,7 @@ export default { percent(meter) { const percentOfItem = ((meter - this.min) / (this.max - this.min)) * 100; - return Math.max(0, Math.min(100, percentOfItem)); + return Math.round(Math.max(0, Math.min(100, percentOfItem))); }, percentValue(meter) { return this.percent(meter) + '%';