This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Round

Updated In 6 Graphic
Round[x]
gives the integer closest to x.
Round[x, a]
rounds to the nearest multiple of a.
  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • Round rounds numbers of the form x.5 toward the nearest even integer.
  • Round[x] returns an integer when x is any numeric quantity, whether or not it is an explicit number.
  • For exact numeric quantities, Round internally uses numerical approximations to establish its result. This process can be affected by the setting of the global variable $MaxExtraPrecision.
  • Round applies separately to real and imaginary parts of complex numbers.
  • Round automatically threads over lists.
New in 1 | Last modified in 6