Round

Parent Previous Next

Round


Round about



Syntax


Round(x)

x is real scalar

Return a integer scalar which is the nearest integers to x


x is real matrix

Return a integer matrix in which the element is the nearest integers to the element in x


Example


Input

Output

round(0.25)

round(0.75)

round([-0.5,0.2,1.7;0.1,3.2,-1.4])


See Also


Created with the Personal Edition of HelpNDoc: Easily create PDF Help documents