Predefined Functions - round
Description: This function performs a normal round operation to the nearest integer. If the fractional part is 0.5, then the round function rounds up. That means, 3.5 gets rounded to 4, -3.5 gets rounded to -3. rounding of x is just same as truncating any fractional part from (x+0.5). Thus round(x) can be rewritten as trunc(x+0.5). If the argument is complex, the round operation is performed component wise, i.e.: round(x+iy) = round(x) + i* round(y) |