Skip to content

This repository proposes a solution to a Roman to Decimal numbers conversion.

Notifications You must be signed in to change notification settings

bmsrangel/app-ideas_roman2decimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roman to Decimal Converter

Description

This repository is a solution proposal for the Roman to Decimal numbers Converter from App Ideas repository (the project description is indicated at the end).

There's not too much to explain: the app will receive a roman number as input and it will convert it to decimal numeric base. However, the application follow the rules associated to the conversion, so the user may see some errors if an invalid input is provided.

Used libs

Project Description (from original repository)

Tier: 1-Beginner

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.

See the below table the Symbol - Value pairs:

  • 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 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

Running the Project

Assuming Flutter is correctly installed and configured:

  • Clone this repository
  • Run the command flutter pub get in the project root to download the packages
  • Start the application using either an emulator or a physical device

About

This repository proposes a solution to a Roman to Decimal numbers conversion.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages