Math.round() rounds a number to its nearest integer.
Try it