This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:floor [2016/08/12 11:56] admin |
en:floor [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
floor ( [[numericexpressions|numeric_expression]] ) | floor ( [[numericexpressions|numeric_expression]] ) | ||
- | returns | + | returns |
==== Description ==== | ==== Description ==== | ||
- | Returns the greatest integer that is less than or equal to //expression// | + | Returns the greatest integer that is less than or equal to [[expressions|expression]] |
+ | |||
+ | ^Value^int()^ceil()^floor()^ | ||
+ | |-4.56|-4|-4|-5| | ||
+ | |-0.56|0|0|-1| | ||
+ | |0.56|0|1|0| | ||
+ | |5.56|5|6|5| | ||
==== See Also ==== | ==== See Also ==== | ||
{{page> | {{page> | ||