i'm having an array of string with in currency format for each array value:
var sells = ['INR1,433,200.00','INR5,750.00','INR12,000.00','INR1,905.00','INR235.00'];
i try to loop through each value of this array , and sum it to get the total in currency format
var total = 0;
sells.forEach(function(sell) {
total += sell;
});
console.log(total);
When i see the browser console log the result is always NaN
, i expected the result to be INR1,453,090.00