ವಿಷಯಕ್ಕೆ ಹೋಗು

ಟೆಂಪ್ಲೇಟು:Roman/doc

ವಿಕಿಪೀಡಿಯದಿಂದ, ಇದು ಮುಕ್ತ ಹಾಗೂ ಸ್ವತಂತ್ರ ವಿಶ್ವಕೋಶ

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.

{{Roman|number|message}}

Replace number with the number you would like to be converted to Roman numerals. For numbers higher than 4999999 the template outputs "N/A". This can be changed by replacing message with your preferred text.

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}} N/A
7654321 {{Roman|7654321|too high}} too high


Convert numbers to Roman numerals.

Template parameters

ಪರಿಮಿತಿವಿವರನಮೂನೆಸ್ಥಾನಮಾನ
Number1

The number to be converted to Roman numerals.

ಸಂಖ್ಯೆಐಚ್ಛಿಕ
Message2

Message to display for numbers that are too big to be displayed in Roman numerals. (The largest possible number is 4999999.)

ಮೂಲಸ್ಥಿತಿ
N/A
Stringಐಚ್ಛಿಕ