Ceiling

Parent Previous Next

Ceiling


Round up



Syntax


Ceiling(x)

x is real scalar

Return a integer scalar which is the nearest integers greater than or equal to x


x is real matrix

Return a integer matrix in which the element is the nearest integers greater than or equal to the element in x


Example


Input

Output

ceiling(0.25)

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


See Also


Created with the Personal Edition of HelpNDoc: Easily create EBooks