Convert number to roman numerals in RPG

30 pts.
Tags:
RPG
RPGLE
Hi,

Can any know how to convert numbers to roman numerals in RPG or RPGLE?

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    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
    125,585 pointsBadges:
    report
  • aceofdelts
    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.
    1,850 pointsBadges:
    report
  • philpl1jb
    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
    49,590 pointsBadges:
    report
  • Sloopy
    A dirt floor, Phil? Luxury....
    2,195 pointsBadges:
    report
  • philpl1jb
    .. when I was young they didn't call it Roman Numerials it was Julius's Numerial .. only one .. I. Phil
    49,590 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following