function approx(number, decimalApprox){
a = parseInt(Math.pow(10,decimalApprox));
numberInt = Math.round(number*a);
return numberInt/a;
}