Floor

Parent Previous Next

Floor


Round down



Syntax


Floor(x)

x is real scalar

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


x is real matrix

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


Example


Input

Output

floor(0.25)

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


See Also


Created with the Personal Edition of HelpNDoc: Full-featured Kindle eBooks generator