$('tr', '.translate').each(function(){
var number = $('.number', $(this)),
price = $('.price', $(this)),
total = $('.price-one', $(this)),
amount = number.length ? parseInt(number.html().replace(/\D/g, '')) : 0,
cost = price.length ? parseInt(price.html().replace(/\D/g, '')) : 0,
res = amount ? cost / amount : 0;
(total.length) && total.text('$' + res.toFixed(0));
});