function roundNumber(num, dec) {
	var result = Math.round(num*Math.pow(10,dec))/Math.pow(10,dec);
	if (isNaN(result)){
		return '';
	} else {
		return result;
	}
}

function formatMoney(num){
	return "$" + new Number(num).toFixed(2);
}