$floor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
$floor(N) | $floor(N) | ||
* ''N'' is the number you want | * ''N'' is the number you want to round down to its next integer. | ||
== Examples == | == Examples == | ||
$floor([[$pi]]) | $floor([[$pi]]) ;will return ''3'' | ||
$floor(-4 | $floor(-4.99) ;will return ''-5'' | ||
== See Also == | == See Also == | ||
* [[$round]] | |||
[[$round]] | * [[$ceil]] | ||
* [[$int]] | |||
[[Category:Text and Number Identifiers]] | [[Category:Text and Number Identifiers]] |