From Wikipedia, the free encyclopedia
{{{1}}}
 | This template uses Lua:
|
This template converts numbers from decimal to a given base.
Use:
{{Decimal2Base|n|radix}}
where n is the number in decimal and radix is the base you want to convert to.
Examples:
{{Decimal2Base|42|3}}
yields 1120.
{{Decimal2Base|{{#expr: 6 * 9}}|13}}
yields 42.
{{Decimal2Base|58|16}}
yields 3A.
Math templates |
|---|
- Functions
- Numeral systems
|
|---|
|
|
|
|
|---|
| bigmath | bigger font to match TeX \displaystyle (standalone formulas only) | math | short text-based formulas | | mathcal | [mathematical] calligraphic font; alternative to LaTeX \mathcal{...} | tombstone | symbol indicating the end of a proof | | mvar | individual italicized maths variables in normal text | val | measurement values, uncertainties and units | |
| a line set above/below a sequence of characters | vec | various overarrows, underarrows, etc. | | abs | absolute values (paired vertical lines) |
| angular brackets | |
| bra–ket notation |
| multiline delimiters (2–5 lines inclusive) | | ceil, floor | calculations :mw:Help:#expr; formatting indicators ⌈3.14⌉, ⌊3.14⌋ (no calculation performed) | pars | parentheses that can be resized (∑) | | fraction | slant fractions 3⁄5 (not for maths/science articles; use standing or upright fractions {{sfrac}} instead) | sfrac | "standing" or upright fractions 3/5 (use in maths/science articles instead of{{fraction}}) | | intmath | integral symbols | sum-int | an integral superimposed over a capital sigma | |
| subscripts and superscripts |
| arbitrary characters/diacritics set above/below one another | | | | tmath | Wrap TeX in <math> tags |
|
|
|
|