Looking_4_Answers
asked on
Roman Numeral to numeric and visa versa
I need a function that takes a string as parameter and does one of two things:
1.) converts it to Roman Numeral if its a numeric
or
2.) converts it to numeric if its Roman a Numeral
Example: function convertValue(Value: String): String;
Note: if a user types anything other than 0..9, or I,V,X,L,C,D,M
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That will doit! Thanks
http://delphi.about.com/od/delphitips2009/qt/roman-arabic.htm
http://www.delphitricks.com/source-code/math/convert_a_decimal_number_to_roman_numerals.html