truncate x
The given number is rounded toward zero.
i1 : truncate 3.7 o1 = 3
i2 : truncate(-3.7) o2 = -3
For complex numbers, the real part is truncated.
i3 : truncate(2.5 + ii) o3 = 2