Template:Floor: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Dbenbenn
Implements the floor function.
 
Ookami (talk | contribs)
m 61 revisions imported
 
(60 intermediate revisions by 23 users not shown)
Line 1: Line 1:
<includeonly>{{#expr: ({{{1}}} - 0.5) round 0}}</includeonly><noinclude>
{{{1}}}<noinclude>{{Documentation|content=
Implements the [[floor function]].
== Description ==
Displays the parameter wrapped in floor symbols. This template is for display, not calculation.


Usage: <nowiki>{{floor|<value>}}</nowiki>.
== Examples ==
{{demo|<nowiki>{{Floor|45.23}}</nowiki>}}
{{demo|<nowiki>{{Floor|''x''}}</nowiki>}}


Examples:
== See also ==
* <nowiki>{{floor|3.9}}</nowiki> = {{floor|3.9}}.
{{Math templates|notation}}
* <nowiki>{{floor|-3.9}}</nowiki> = {{floor|-3.9}}.
* <nowiki>{{floor|-3.2}}</nowiki> = {{floor|-3.2}}.


[[Category:Templates using ParserFunctions]]
[[Category:Mathematical formatting templates]]
[[Category:Mathematical templates]]
}}</noinclude>
</noinclude>

Latest revision as of 13:19, 3 September 2020

⌊{{{1}}}⌋