DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+3 =
Submit