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 |
---|
|
Conversions |
---|
bbl to t | barrels of oil to tonnes
| convert |
| convert/scale | to convert any linearly related units
| long ton | long hundredweights, quarters and pounds to kilograms; long tons and hundredweights to pounds and metric tonnes
| convinfobox | for use in infoboxes
|
|
|
|
|
Notation |
---|
| mvar | a short form to refer to individual italicized maths variables in normal text
| | arbitrary characters/diacritics set above/below one another
| radic |
| sfrac |
| sqrt |
| |
| tmath
| wraps a TeX math expression in <math> tags
| val | to report measurement values, uncertainties and units
| vec | for various overarrows, underarrows, pointing left, right or both ways
|
|
|
|
|
|