History of Math.round() Revision history for: English (US) Aug 10, 2016, 4:02:34 AM torazaburo Previous Jul 29, 2016, 8:03:31 AM eduardoboucas Add "Return value" section as per Bug 1287421 Previous Jul 27, 2016, 3:23:24 AM PhiLho Previous Jul 22, 2016, 3:52:03 AM Programster Adding a simpler alternative than Decimal rounding that others can use. This adds the ability to specify precision when rounding. Previous Jul 22, 2016, 2:17:19 AM fscholz bring back decimal rounding exmaple that was here in earlier revisions Previous Jul 22, 2016, 12:01:15 AM KarlGustav-unimicro Adding link to the decimal rounding code that have been moved to github because many webpages like stackoverflow link to this page saying "it is better to use the code examples in MDN <link>" when you search for decimal rounding in javascript Previous Jun 13, 2016, 2:46:22 PM schlagi123 correct description: absolute value is the result of the Math.abs() function, but -3.5 is roundet to -3 and not to -4 Previous Jun 12, 2016, 10:06:35 AM Fornost461 simplification Previous Jun 12, 2016, 10:01:35 AM Fornost461 minuscules Previous Jun 12, 2016, 9:48:46 AM Fornost461 rectification (description was valid only for a nonnegative argument)