Template:Decimal2Base

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

This template converts numbers from decimal to a given base.

Usage[change source]

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 11203.

{{Decimal2Base|{{#expr: 6 * 9}}|13}} yields 4213.

Related pages[change source]

Template:Roman