fix
fix(x)
Round a value towards zero. If x is complex, both real and imaginary part are rounded towards zero.
Try it yourself:
$1 | fix(3.2)
| |
$2 | fix(3.8)
| |
$3 | fix(-4.2)
| |
$4 | fix(-4.8)
|