round ============================================== Purpose ---------------- Round to the nearest integer. Format ---------------- .. function:: y = round(x) :param x: data :type x: NxK matrix or N-dimensional array :return y: contains the rounded elements of *x*. :rtype y: NxK matrix or N-dimensional array Examples ---------------- :: x = { 77.68 -14.10, 4.73 -158.88 }; y = round(x); print y; :: 78.00 -14.00 5.00 -159.00 .. seealso:: Functions :func:`trunc`, :func:`floor`, :func:`ceil`