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


gives the integer part of x.
  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • IntegerPart[x] in effect takes all digits to the left of the decimal point and drops the others.
  • IntegerPart[x] returns an integer when x is any numeric quantity, whether or not it is an explicit number.
  • For exact numeric quantities, IntegerPart internally uses numerical approximations to establish its result. This process can be affected by the setting of the global variable $MaxExtraPrecision.
  • IntegerPart applies separately to real and imaginary parts of complex numbers.
New in 3