src code

instance method Number#round

Number#round() → Number

Rounds the number to the nearest integer. Convenience method that simply calls Math.round on this instance and returns the result.