Math.round()

Term side of the Card
Topic: Math
Unit title: Math.round()
Categories: Method
Explanation side of the Card

Explanation: The static method that returns the value of a given number rounded to the nearest integer. For example, `Math.round(4.6)` returns 5.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: