The Roman numeral system is an ancient way of representing numbers. The symbols are I, V, X, L, C, D and M.

learn more… | top users | synonyms

5
votes
2answers
120 views

Positive integer to Roman Numeral conversion function

For the past two hours I was searching for a built-in function for converting an integer to an equivalent Roman numeral, but it failed to achieve the target. Hence I wrote my own routine for ...
2
votes
3answers
465 views
5
votes
1answer
279 views

Roman numerals to decimal

This is an assignment for class. I would like to know how to improve my code. It is a program to convert Roman numerals to it's decimal equivalent. This is what I have so far. There must be a better ...
3
votes
2answers
271 views

Roman numeral converter in Ruby

For a Project Euler problem, I made a Ruby roman numeral converter: ...
7
votes
1answer
104 views

Roman numeral kata in Elixir

I'm new to Elixir, and in order to learn the syntax, I'm doing a roman numeral kata which converts a decimal number into roman numeral. I would appreciate any feedback you have. ...
7
votes
2answers
1k views

Converting Roman numerals to decimal

Could someone please point out the error(s) in the given code? It was downvoted on Stack Overflow without any explanation, but it seems to be working fine for me: ...
7
votes
3answers
4k views

Roman Numeral to Decimal Conversion

I'm mostly looking to get feedback on how well I've implemented the C++ language. But I would also like feedback on my algorithm. Did I make it more complex than it needs to be? Is there anything I ...