Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

chop function

A number with tiny parts replaced by zero.

How to write it

chop(x)

x
A number. Takes a number.

Examples

  • chop⁡(1×10−20)=0\displaystyle \operatorname{chop}(1 \times 10^{-20}) = 0
    chop(1e-20)

    In the solver, chop(1e-20) gives 0.

    Open in the solver
  • numeric

    Approximate a number with decimals.

  • rationalize

    The simplest fraction equal to a decimal number.