Thanks to both for the implementations. The algorithms differ, and so it was not obvious that both generate equivalent results. I did some testing and verified that they do (I ran for integers between 0 and 1000000).

Thanks again.


On Sun, Mar 16, 2008 at 2:20 AM, Nathan Mishra Linger <nathan.mishralinger@gmail.com> wrote:
> Hi Ashish,
>
> Here is something I wrote a while back. Let me know if it works out for you.
>
> Nathan
>
>
> 2008/3/14 Ashish Agarwal <agarwal1975@gmail.com>:
>
> >
> > Hi all. Does anyone have an OCaml libary for working with Roman Numerals? Probably easy to write but am hoping it already exists. Thank you.
> >
> >