Ver originalfunction Round(number,n) { var factor = Math.pow(10,n); return Math.round(number*factor) / factor;}