Template:Floor/doc
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.