tengo un problema que me registra en lo siguiente, estoy sumando varios valores de una tabla donde por ejemplo tengo los siguientes valores
15.000 - 56.000 - 85.000 - 25.000 = 181000
tabla+="<td>"+"<input id=\"total"+(j+1)+"\" name=\"total"+(j+1)+"\" value=\""+(new Intl.NumberFormat().format(total))+"\" onchange=\"sumarvalores("+(j+1)+");\" class=\"valores\" onKeyPress=\"return isNumberKey(event)\">"+ "</td>";
tabla+="<td>"+"<input id=\"resultado\" name=\"spTotal\" value=\""+(new Intl.NumberFormat().format(valorPrecio))+"\">"+ "</td>";
function sumarvalores(valor){
var nw_var = document.getElementById('total'+valor).value;
document.getElementById('total'+valor).value= new Intl.NumberFormat().format(nw_var);
var total1 = 0;
$(".valores").each(function(){
if (isNaN(parseFloat($(this).val()))){
total1 += 0;
}else {
total1 += parseFloat($(this).val());
}
});
document.getElementById('resultado').value = new Intl.NumberFormat().format(total1);
}
Hasta el momento me realiza la suma como corresponde, pero cuando me entrega el valor final en vez de salir 181.000, me trae como resultado 181, como puedo hacer para que los ceros y el punto me aparezca donde corresponde. Estoy trabajando en asp y js
parseFloat(15.000)
queda 15, y no 15000