Grazie, già risolto così:
codice:
var total = parseInt($("#due").val());
total = total + parseInt(itemprice);