Template:Floor: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Verdy p m better documentation |
meta>Verdy p mNo edit summary |
||
Line 23: | Line 23: | ||
* <nowiki>{{floor|-3.5}}</nowiki> = {{floor|-3.5}}. | * <nowiki>{{floor|-3.5}}</nowiki> = {{floor|-3.5}}. | ||
* <nowiki>{{floor|-3.9}}</nowiki> = {{floor|-3.9}}. | * <nowiki>{{floor|-3.9}}</nowiki> = {{floor|-3.9}}. | ||
; See also<nowiki>:</nowiki> | |||
* [[Template:Ceil]] | |||
[[Category:Templates using ParserFunctions]] | [[Category:Templates using ParserFunctions]] | ||
[[Category:Mathematical templates]] | [[Category:Mathematical templates]] | ||
</noinclude> | </noinclude> |
Revision as of 20:42, 24 April 2006
Template:Template documentation Implements the mathematical floor function.
- Usage:
- {{floor|value}}
- Examples:
- {{floor|3.9}} = 3.
- {{floor|3.5}} = 3.
- {{floor|3.1}} = 3.
- {{floor|3.0}} = 3.
- {{floor|1.0}} = 1.
- {{floor|0.9}} = 0.
- {{floor|0.5}} = 0.
- {{floor|0.1}} = 0.
- {{floor|0.0}} = 0.
- {{floor|-0.1}} = -1.
- {{floor|-0.5}} = -1.
- {{floor|-0.9}} = -1.
- {{floor|-1.0}} = -1.
- {{floor|-3.0}} = -3.
- {{floor|-3.2}} = -4.
- {{floor|-3.5}} = -4.
- {{floor|-3.9}} = -4.
- See also: