This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Mathematical Functions / Numerical Functions  /
Round

  • Round[ x ] gives the integer closest to x.
  • Mathematical function (see Section A.3.10).
  • Examples: Round[2.4]; Round[2.6]; Round[-2.4]; Round[-2.6].
  • 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.
  • Example: Round[Pi^2].
  • 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.
  • See the Mathematica book: Section 1.1.3Section 3.2.2.
  • See also: IntegerPart, Floor, Ceiling, Chop.