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  /
Chop

  • Chop[ expr ] replaces approximate real numbers in expr that are close to zero by the exact integer 0.
  • Chop[ expr , delta ] replaces numbers smaller in absolute magnitude than delta by 0.
  • Chop uses a default tolerance of .
  • Chop works on both Real and Complex numbers.
  • See the Mathematica book: Section 3.1.4.
  • See also: Rationalize, Round.

    Further Examples

    This computation gives a small imaginary part.

    In[1]:=

    Out[1]=

    You can get rid of the small imaginary part using Chop.

    In[2]:=

    Out[2]=