|See Also||roundoff , ceil , floor , int , mod|
roundfunction applies to the real and imaginary parts separately.
y = [ -1.4, -.6, 1.4, 2.]
[-1 , -1 , 1 , 2]
roundreturns a matrix the elements of which are equal to integers, but the return value has the same type as x. The function roundoff returns a matrix that has the integer type.