--- Sean 'Captain Napalm' Conner <spc(a)armigeron.com> wrote:
Problem: Convert a binary value to Roman, using ASCII characters (or
the native character set if applicable) into a string
with a termination character (if ASCII, use the NUL (0)
character).
Sorry, I goofed. The longer string is 16 characters long:
'MMMDCCCLXXXVIII' plus termination character.
In terms of how to represent numbers like 1999 (MIM or MCMXCIX), the rule
I learned as a kid was that it was not proper to subtract any numeral
from any other numeral willy-nilly. Only certain
combinations were
allowed and you had to just memorize them.
Here's some links to some pages with something to say about Roman Numerals
http://www.cod.edu/people/faculty/lawrence/romans00.htm
http://www.col-ed.org/cur/math/math41.txt
http://www.mcn.net/~jimloy/roman0.html
http://raven.bu.edu/~grozdits/student/roman_num.html
... and we now return you to your regularly scheduled Off Topic discussions...
-ethan
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at
http://mail.yahoo.com