Thank you for visiting ITKE.
We are happy to help you with solving specific IT questions, but need as
much information as possible to do so. Let us know about the problem you
are trying to solve, how you are approaching it and what work you’ve
done so far, and we can help guide you in the right direction.
Last Wiki Answer Submitted: May 14, 2013 12:57 am by Chris Leonard3,185 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
I wrote a Roman numeral calculator in Fortran almost 40 years ago for an unusual college assignment. It handled both true representation and the later “subtractive format” representation — e.g., XVIIII and XIV. Not trivial in old Fortran. I suspect that the basic code would look recognizably similar in RPG IV today.
What exactly brings this question up? It isn’t much different in many principles from a “numeral-to-word” converter that would replace [123] with “one hundred twenty-three”.
I had that same college assignment. A true business application could likely work with a mere conversion table. Yes I prefer to calc nearly everything, but this might be an exception. Table is simple & effective for a short list of values.
When we did it we didn’t need no stinkin table, we didn’t have any chairs either, had to do it on the floor and it was dirt and Roman numerals had just been invented.
Phil
I wrote a Roman numeral calculator in Fortran almost 40 years ago for an unusual college assignment. It handled both true representation and the later “subtractive format” representation — e.g., XVIIII and XIV. Not trivial in old Fortran. I suspect that the basic code would look recognizably similar in RPG IV today.
What exactly brings this question up? It isn’t much different in many principles from a “numeral-to-word” converter that would replace [123] with “one hundred twenty-three”.
Tom
I had that same college assignment. A true business application could likely work with a mere conversion table. Yes I prefer to calc nearly everything, but this might be an exception. Table is simple & effective for a short list of values.
Mike L.
When we did it we didn’t need no stinkin table, we didn’t have any chairs either, had to do it on the floor and it was dirt and Roman numerals had just been invented.
Phil
A dirt floor, Phil?
Luxury….
.. when I was young they didn’t call it Roman Numerials it was Julius’s Numerial .. only one .. I.
Phil