Here are the symbols used for roman numerals.
1 | 5 | 10 | 50 | 100 | 500 | 1000 |
---|---|---|---|---|---|---|
I | V | X | L | C | D | M |
Roman numerals are read from left to right. If a symbol is succeeded by a larger symbol, the first symbol is subtracted from the total, otherwise it is added to the total. The last symbol is always added. A few examples:
R.N. | Integer Value |
---|---|
XXI | 20+1 = 21 |
XIX | 10-1+10 = 19 |
IXX | -1+20 = 19 |
LCL | -50+100+50 = 100 |
MCMXLVIII | 1000-100+1000-10+50+5+3 = 1948 |
Of course, some of the notations above are not standard, but one integer can have multiple roman numeral representations. For example, the standard way to denote 98 is XCVIII, but IIC makes just as much sense to me.
Here is a list of all the "standard" numbers using "reverse" notation:
4 | 9 | 40 | 90 | 400 | 900 |
---|---|---|---|---|---|
IV | IX | XL | XC | CD | CM |