```
var total = 0;
for(var i = 0; i < arr.length; i++) {
total += arr[i]
}
return total / arr.length
}
function round(number) {
return Math.round(total * 100) / 100;
}
mean([5,8,2,5,8,0,1,4])
```

The first function will return the average sum, in the case of this array 4.125 but by a decimal place. Any ideas how i can implement the second function to bring the number to a whole number.