fix

fix(x)

Round a value towards zero. If x is complex, both real and imaginary part are rounded towards zero.

Try it yourself:

See also:
All functions