From Wikipedia, the free encyclopedia
⌊{{{1}}}⌋
Usage
Template parameters
Edit template data
This template prefers inline formatting of parameters.
Parameter | Description | Type | Status |
---|
Operand | 1 | The operand of the floor function - Example
- π
| Line | required |
---|
Font size | 2 | A valid CSS font size, applied to the bars only. Typically should be given in "em". - Default
- Default is "1em", i.e. the same as the surrounding text.
| String | optional |
---|
Examples
{{floor|45.23}}
→ ⌊45.23⌋
{{floor|''x''}}
→ ⌊x⌋
{{floor|{{sfrac|2''a''|''b''}}}}
→ ⌊2a/b⌋
{{floor|{{sfrac|2''a''|''b''}}|2em}}
→ ⌊2a/b⌋
{{floor|{{sfrac|2''a''|''b''}}|larger}}
→ ⌊2a/b⌋
{{floor|{{sfrac|2''a''|''b''}}|large}}
→ ⌊2a/b⌋
{{math|{{floor|{{sfrac|2''a''|''b''}}}}}}
→ ⌊2a/b⌋
{{bigmath|{{floor|{{sfrac|2''a''|''b''}}}}}}
→ ⌊2a/b⌋
See also
Math templates |
---|
- Functions
- Numeral systems
|
---|
|
|
|
|
---|
|
mvar | individual italicized maths variables in normal text |
overline
underline | a line set above/below a sequence of characters |
overarc | an arc set above a sequence of characters |
overset
underset | arbitrary characters/diacritics set above/below one another |
pars | parentheses that can be resized (∑) |
sfrac | "standing" or upright fractions 3/5 (use in maths/science articles instead of{{
fraction}} ) |
sub
sup
su | subscripts and superscripts |
tmath | Wrap
TeX in <math> tags |
tombstone | symbol indicating the
end of a proof |
val | measurement values, uncertainties and units |
vec | various overarrows, underarrows, etc. |
|
|
|
|
|