vue-round-filter
round number with whichever decimal accuracy
installation
let round = ;// or es6;
filters: round ;
usage
let pi = 314159265359;
{{ pi | round }} 3 {{ pi | round 2 }} 3.14
If you're need to keep decimal accuracy, pass true
as second argument
let int = 3;
{{ int | round 3 }} 3 {{ int | round 3 true }} 3.000