Romanumerator - Translates between arabic & roman numeral notations
Version: 0.1Romanumerator is a nifty program for translating between arabic and roman numeral notations. Even will "optimize" arabic notation when possible. See the readme for more information.
Operating System: Mac OS X
Romanumerator can convert any arabic integer between 1 and 100000 into its respective roman integer. All decimal places will be truncated. An empty field or an unknow character will be evaluated to 0. Numbers in the input field will be accepted up to the first estraneous character (4a4 -> 4, a44 -> 0).
Romanumerator can also convert any roman integer between 1 and 127000000 into its respective arabic integer. All extraneous characters will be ignored, and all lower-cased letters will be capitalized ( i -> I, Iwav5 -> IV).
The rule for conversion is simple: check the left most number, if the number to the right is less than or equal to it, evaluate the number to it's arabic integer counterpart and add it to the conversion of the rest of the roman numeral.
If the number to the right is greater than the number to the left, then take the number to the left and subtract the number from the right from it and add result to the rest of the conversion. If you don't have something to the right, just evaluate the respective roman numeral.