Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. arabic to roman number convertion [modified]

arabic to roman number convertion [modified]

Scheduled Pinned Locked Moved C#
tutorialquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    azusakt
    wrote on last edited by
    #1

    Hi, I'm making a project which is now urgently need a function to convert arabic integer to roman interger. Does anyone tried to make this function? I have searched a lot from web, but some of them seems work incorrectly or very complex. Could some of you provide me a code or example? Thank you.

    S 1 Reply Last reply
    0
    • A azusakt

      Hi, I'm making a project which is now urgently need a function to convert arabic integer to roman interger. Does anyone tried to make this function? I have searched a lot from web, but some of them seems work incorrectly or very complex. Could some of you provide me a code or example? Thank you.

      S Offline
      S Offline
      Syed Mujtaba Hassan
      wrote on last edited by
      #2

      Wel I saw a simple example in Java that converts a normal integer to roman. I think if you follow the approach in C# it would help you coz its just a programing trick. here is the link http://www.faqs.org/docs/javap/c9/ex-9-3-answer.html[^]

      Mujtaba

      A 1 Reply Last reply
      0
      • S Syed Mujtaba Hassan

        Wel I saw a simple example in Java that converts a normal integer to roman. I think if you follow the approach in C# it would help you coz its just a programing trick. here is the link http://www.faqs.org/docs/javap/c9/ex-9-3-answer.html[^]

        Mujtaba

        A Offline
        A Offline
        azusakt
        wrote on last edited by
        #3

        Thanks so much Mujtaba, It is useful, but is there any good source code that I can convert the arabic number from 1-10000 ? The java example is work fine only for the range of 1- 3999.

        S 1 Reply Last reply
        0
        • A azusakt

          Thanks so much Mujtaba, It is useful, but is there any good source code that I can convert the arabic number from 1-10000 ? The java example is work fine only for the range of 1- 3999.

          S Offline
          S Offline
          Syed Mujtaba Hassan
          wrote on last edited by
          #4

          wel this time I am having an example in c++ ;). its from 0 to 3,999,999. here is the link. http://www.programmersheaven.com/download/16171/0/ZipView.aspx[^] its not too much complex. try it.

          Mujtaba

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups