Jump to content

Template:Roman/doc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Opraco (talk | contribs) at 05:59, 20 December 2012 (+ pt:Predefinição:Números romanos). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


This template converts Arabic numerals (that is, 1, 2, 3, etc) into Roman numerals (I, II, III etc). It currently works for any whole number between 1 and 4999999.

Usage

Enter {{Roman|N}}, replacing "N" with a number.

Examples

Arabic Numerals Template Call Roman Numerals
1 {{Roman|1}} I
2 {{Roman|2}} II
49 {{Roman|49}} XLIX
50 {{Roman|50}} L
51 {{Roman|51}} LI
1024 {{Roman|1024}} MXXIV
4999 {{Roman|4999}} IVCMXCIX
5000 {{Roman|5000}} V
5001 {{Roman|5001}} VI
1048576 {{Roman|1048576}} MXLVMMMDLXXVI
7654321 {{Roman|7654321}} K.A.