I have got a class that does this conversion (and the reverse conversion)
which I've posted it here before.
http://tinyurl.com/gys3 (link to Google
Groups) should find you the thread. (I'm guessing any assignment date has
passed now.)
But it is worth pointing out that you can't really convert numbers >= 10,000
into Roman notation. You'd need to use the "bar" notation (a bar above a
numeral multiplies its values by 1000) but that cannot be readily encoded
into a string. (I guess there might be a combining character somewhere in
the Unicode that would serve this purpose, but it might not have a glyph in
many fonts.)
S.
"Chris R. Timmons" <crtimmons@X_NOSPAM_Xcrtimmonsinc.com> wrote in message
news:Xn**********************************@207.46.2 48.16...
"Patrick Blackman" <pa****@videotron.ca> wrote in
news:OB**************@TK2MSFTNGP11.phx.gbl:
How do you write regular numbers eg 1 23 475896 in roman
numerals inC#
Patrick,
This sounds like a homework assignment.
You're welcome to post code that you've written and ask for
assistance, but I don't think anyone here is going to write the
entire program for you.
Chris.
-------------
C.R. Timmons Consulting, Inc.
http://www.crtimmonsinc.com/