Quote (Ghot @ 14 Sep 2013 21:48)
there is no "mathematical" relationship between Roman numerals and Decimal or ASCII, prolly just have to build an array, and a bunch of if/then and string statements ( for the letters location in the line)...unlike most numbers Roman numerals aren't numbers, they are letters.
/e Converting roman numerals to numbers is like converting two point seven two five ...to a number.
http://i.imgur.com/rDujqYY.jpg
while what you are saying sounds reasonable but is technically not correct
what is a number? how is it presented?
there are plenty different 'number' or 'numberal' systems, a number is the same number regarding of presentation
could be with roman numerals, greek numerals, hebrew numerals (to name just three which are still used at times)
or could be binary, octal, hex representation as commonly used in programming
you table is reasonable as well and makes sense for a simple standard conversion (and can be used as standard convention)
but eg MIM and XIIII have been used in roman and medieval times (before the arabs taught the europeans to use the indian number system), so technically there are variants