Edit This Code:
See Result »
Math.round() rounds a number to its nearest integer.
Try it
Result: