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

6
votes
3answers
423 views

Checking for Roman numeral validity

I am working on a Roman numerals calculator. For an input validity test I'm using this function: ...
2
votes
1answer
57 views

Number to Roman in Javascript

Is this a good solution for the Number to Roman Numerals Kata in Javascript? ...
3
votes
3answers
630 views

Roman Numerals - the good, the bad, and the ugly

I wrote a RomanNumeral class in C#. Please pull it to pieces: ...
8
votes
3answers
278 views

Adding two roman-numeral inputs

This is the first coding class I've taken and I'm not getting much feedback from the instructor. The function of this program is to take two roman numeral inputs, convert them to arabic, add them ...
6
votes
2answers
152 views

Roman numeral to decimal converter

Program written in TI-Basic that works on TI-83/84/+/SE calculators. Automatically detects whether input is a number of a Roman numeral, and converts to the opposite. Please try to optimize for size, ...
4
votes
1answer
147 views

Converting to Roman Numeral with Recursive Algorithm

Summary I'm getting ready to dive back into a "more proper" project, so I wanted to take a moment to get my TDD hat on before doing so. I decided to tackle this Roman Numeral Kata for practice. The ...
5
votes
2answers
311 views

Convert Roman to Int

I made a function that converts Roman letters to integers. But I'm not happy with it, as I feel like I used too much code for a such a simple task. Any suggestion on how I can minimize it? ...
6
votes
2answers
519 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
2k views
5
votes
1answer
3k 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 ...
4
votes
2answers
605 views

Roman numeral converter in Ruby

For a Project Euler problem, I made a Ruby roman numeral converter: ...
7
votes
1answer
158 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
300 views

Reducing verbosity of RomanNumeral class

I point to my problem in the comments of my code. I have a class RomanNumeral: ...
7
votes
2answers
4k 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: ...
5
votes
3answers
880 views

Converting Arabic numerals to Roman numerals

These classes are part of a program I am working on to convert Arabic numerals to Roman numerals and vice-versa. Do these classes look correct for representing objects in Java? ...
8
votes
3answers
5k 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 ...
2
votes
3answers
3k views

Roman numeral converter

I'm writing a program to convert integers to Roman numerals (naively -- it doesn't know how to do the subtraction trick yet). What I have is functional, but it is not "Good Ruby". ...