fix(encoding): Truncate percent instead of round it

This commit is contained in:
Tixie 2019-05-01 01:20:54 +02:00
parent f91b072528
commit f57601366b

View file

@ -39,7 +39,7 @@ export default {
return this.value * 100 return this.value * 100
}, },
roundedPercentage () { roundedPercentage () {
return Math.round(this.percentage) return Math.trunc(this.percentage)
} }
} }
} }