@@ -31,7 +31,7 @@
},
methods: {
getTotal() {
- return accounting.format(this.total, 2, '.', ',')
+ return accounting.format(this.total, this.decimals, '.', ',')
getSymbol() {
return this.symbol