chop function
A number with tiny parts replaced by zero.
How to write it
chop(x)
- x
- A number. Takes a number.
Examples
chop(1e-20)In the solver,
Open in the solverchop(1e-20)gives0.
Related functions
- numeric
Approximate a number with decimals.
- rationalize
The simplest fraction equal to a decimal number.