Template:Decimal2Base/doc

From blackwiki
< Template:Decimal2Base
Revision as of 22:08, 20 June 2008 by imported>Jkasd (​Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template converts numbers from decimal to a given base. =...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template converts numbers from decimal to a given base.

Usage

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.

See also

Template:Roman