Rounds to the next lowest integer. |
||
Syntax |
i = Floor(m) |
|
Argument |
Name |
Description |
m |
A scalar, vector or matrix. |
|
Output |
Name |
Description |
i |
Each element rounded to the next lowest integer. For negative values, it rounds away from zero. |
|
Example |
Round to the next upper integer of elements in a vector: |
|
Syntax |
||
i = Floor([-1.2,2.1,2.8,4]) |
||
Result |
||
i = -2 2 2 4 |
||
See Also: |