how to round off in javascript from decimal to the nearest whole number code example
Example: rounding off in javascript
var avg=10.55;
console.log(Math.round(avg)); //Prints 11
var avg=10.55;
console.log(Math.round(avg)); //Prints 11