# Replacing small values by 0: epsilon2zero

### 5.59.1 Replacing small values by 0: epsilon2zero

The epsilon2zero command replaces small values by 0.

- epsilon2zero takes one argument:
  expr, an expression in x.
- epsilon2zero(expr) returns expr where any values of modulus less than epsilon (see Section 2.5.7, item 9, by default epsilon=1e-10) are replaced by zero. The expression is not evaluated.

#### Examples.

- Input:
  epsilon2zero(1e-13+x)
  Output (with epsilon=1e-10):

  0+x

- Input:
  epsilon2zero((1e-13+x)*100000)
  Output (with epsilon=1e-10):

  100000 | ⎛ ⎝ | 0+x | ⎞ ⎠

- Input:
  epsilon2zero(0.001+x)
  Output (with epsilon=0.0001):

  0.001+x