I'm tryng to sum two floating point numbers in this way:
total= parseFloat(total) + parseFloat(($(this).parent().parent().parent().parent().next("div").find(".value").text()));
totale = total.toFixed(2);
console.log(total);
At first, total is 0 and the jQuery selector takes the second number that is "35,15". This results in total=35. Anyone could explain what am I doing wrong? Is the comma in number format the problem?