Here's a more flexible way:
function round(numb, decimalPlaces) {
var multiplier = Math.pow(10, decimalPlaces);
var multipliedNumb = numb * multiplier;
var roundNumb = Math.round(multipliedNumb) / multiplier;
return roundNumb;
}
You can specify how many decimal places, even negative decimal places, which begin to do rounding to the tens, hundreds, etc.