You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
6 years ago
|
# Roman to Decimal numbers Converter
|
||
6 years ago
|
|
||
6 years ago
|
**Tier:** 1-Beginner
|
||
6 years ago
|
|
||
|
The numeric system represented by Roman numerals originated in ancient Rome and remained the
|
||
|
usual way of writing numbers throughout Europe well into the Late Middle Ages.
|
||
|
Roman numerals, as used today, employ seven symbols, each with a fixed integer value.
|
||
|
|
||
6 years ago
|
See the below table the _Symbol - Value_ pairs:
|
||
6 years ago
|
|
||
|
- I - 1
|
||
|
- V - 5
|
||
|
- X - 10
|
||
|
- L - 50
|
||
|
- C - 100
|
||
|
- D - 500
|
||
|
- M - 1000
|
||
|
|
||
|
## User Stories
|
||
|
|
||
|
- [ ] User should be able to enter one Roman number in an input field
|
||
|
- [ ] User could see the results in a single output field containing the decimal (base 10) equivalent of the the roman number that was entered by pressing a button
|
||
|
- [ ] If a wrong symbol is entered, the User should see an error
|
||
|
|
||
|
## Bonus features
|
||
|
|
||
|
- [ ] User could see the conversion to be made automatically as I type
|
||
|
- [ ] User should be able to convert from decimal to Roman (vice-versa)
|
||
|
|
||
|
## Useful links and resources
|
||
|
|
||
|
- [An explanation of Roman Numbers](https://en.wikipedia.org/wiki/Roman_numerals)
|
||
|
|
||
|
## Example projects
|
||
|
|
||
|
Try not to view this until you've developed your own solution:
|
||
|
|
||
|
- [Roman Number Converter](https://www.calculatorsoup.com/calculators/conversions/roman-numeral-converter.php)
|