11 Comments to “Php decimal to Roman number Conversion”

  1. NasirJumani

    Apr 20th, 2008

    Cute little trick, stumbled!

  2. alex

    May 26th, 2008

    Also doesn’t really work:
    9 will come out as viiii instead of ix.

  3. Sajith M.R

    May 26th, 2008

    @Alex
    That might be your mistake. I tried 9 and i got IX as output.
    The function is right.

    Regards
    Sajith

  4. alex

    May 26th, 2008

    Oh yes, you’re right, good shout, didn’t read it properly first time.

  5. Djordje

    Jun 11th, 2008

    “private” modifier is useless outside of a class

    http://www.free-circuit-diagrams.com

  6. JonsJava

    Apr 22nd, 2009

    Nice to see you steal stuff from other websites. Too bad you forgot to copy and paste the whole thing.

    http://www.go4expert.com/forums/showthread.php?t=4948

  7. Borellus

    Jun 28th, 2009

    Nice little function there, I think I may try to use it at some point.

  8. Hello

    Jul 20th, 2009

    What happens with 10000?

  9. rean

    Jan 5th, 2010

    nice code…

  10. rean

    Jan 5th, 2010

    what are the uses of this $lookup as $roman => $value…


Leave a Reply