Dustin Kincaid

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromDustin Kincaid
ToMe
SubjectFYI
Date29 October 2003 04:32
Roman numerals conversions - when run for 3999 Arabic convert to Roman
Numerals the output given on your page was MMMIM which is incorrect, that
is an invalid output, 3m is thee thousand, IM doesn't occur within the
rules of roman numerals... the correct output should be MMMCMXCIX
FromMe
ToDustin Kincaid
SubjectRe: FYI
Date29 October 2003 12:15
Thanks for letting me know.

As far as I knew, roman numerals could be optimised, say for IM to
represent 999. Do you have any documentation to the contrary, so that I can
see if my algorithms are invalid?


Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
FromMe
ToDustin Kincaid
SubjectRe: Roman Numerals
Date1 November 2003 20:30
I have now updated the script to provide the option not to optimise Roman
Numerals as I have done, so without the option enabled, 3999 = MMMIM, but
with the option enabled, 3999 = MMMCMXCIX as you suggested. The updated
version is available on
http://www.howtocreate.co.uk/php/
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.