Template:Floor: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) Floor function template |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span style="font-size:{{{2|1em}}}">⌊</span>{{{1}}}<span style="font-size:{{{2|1em}}}">⌋</span></includeonly><noinclude> | <includeonly><span style="font-size: {{{2|1em}}};">⌊</span>{{{1}}}<span style="font-size: {{{2|1em}}};">⌋</span></includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> |
Revision as of 12:57, 19 March 2025
This template is designed to typeset the floor function of a variable.
Parameters
{{{1}}}
- The expression to be enclosed.
{{{2}}}
- The scale factor, used to stretch or compress the floor symbols.
Usage
You type | You get |
---|---|
{{floor|''x''}} |
⌊x⌋ |
{{floor|{{sfrac|''x''|''y''}}|1.8}} |
⌊x/y⌋ |
See also
- Template:Ceil – for typesetting the ceiling function.