I am trying to SUM values from values separated by a dot, like:
Here is how I am doing this:
computed: {
total: function(){
return Number(this.ValorImovelPatrimonio.replace('.','')) + Number(this.ValorAutosPatrimonio.replace('.','')) + Number(this.ValorOutrosPatrimonio.replace('.','')) + Number(this.ValorAcoesPatrimonio.replace('.','')) + Number(this.ValorInvestimentosPatrimonio.replace('.',''));
},
Any hints on how to use it with (or not) Numbers.js?
