Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

rounding off in javascript

var avg=10.55;
console.log(Math.round(avg)); //Prints 11
 
PREVIOUS NEXT
Tagged: #rounding #javascript
ADD COMMENT
Topic
Name
7+3 =