How to convert decimal number to roman numerals.
For decimal number x:
and its corresponding roman numeral n:
Decimal value (v) | Roman numeral (n) |
---|---|
1 | I |
4 | IV |
5 | V |
9 | IX |
10 | X |
40 | XL |
50 | L |
90 | XC |
100 | C |
400 | CD |
500 | D |
900 | CM |
1000 | M |
x = x - v
x = 36
Iteration # | Decimal number (x) | Highest decimal value (v) | Highest roman numeral (n) | Temporary result |
---|---|---|---|---|
1 | 36 | 10 | X | X |
2 | 26 | 10 | X | XX |
3 | 16 | 10 | X | XXX |
4 | 6 | 5 | V | XXXV |
5 | 1 | 1 | I | XXXVI |
x = 2012
Iteration # | Decimal number (x) | Highest decimal value (v) | Highest roman numeral (n) | Temporary result |
---|---|---|---|---|
1 | 2012 | 1000 | M | M |
2 | 1012 | 1000 | M | MM |
3 | 12 | 10 | X | MMX |
4 | 2 | 1 | I | MMXI |
5 | 1 | 1 | I | MMXII |
x = 1996
Iteration # | Decimal number (x) | Highest decimal value (v) | Highest roman numeral (n) | Temporary result |
---|---|---|---|---|
1 | 1996 | 1000 | M | M |
2 | 996 | 900 | CM | MCM |
3 | 96 | 90 | XC | MCMXC |
4 | 6 | 5 | V | MCMXCV |
5 | 1 | 1 | I | MCMXCVI |
How to convert roman numerals to number ►