lucky500 / romanNumerals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Roman Numerals

Converts Numbers to Roman Numerals, 08/17/2017

By Luciano Oliveira Kristen Kulha

Description

Enter Numbers and receive Roman Numerals

Specifications

  • Any input that is not a valid Roman Numeral will return invalid/NaN

    • Example Input: ""
    • Example Output: ""
  • Add the value of all the symbols

    • Example Input: 6
    • Example Input: VI
  • Cannot take a number higher than 3,999

    • Example Input: 4,000
    • Example Output: Roman numerals cannot count higher than 3,999
  • Separate ones

    • Example Input: 1
    • Example Output: I
  • Separate tens

    • Example Input: 10
    • Example Output: X
  • Separate by fifty

    • Example input: 50
    • Example Output: L
  • Separate hundreds

    • Example Input: 100
    • Example Output: C
  • Separate five hundreds

    • Example Input: 500
    • Example Output: D
  • Separate thousands

    • Example Input: 1000
    • Example Output: M
  • Identify if there more than 3 of the same character in row and switch to subtraction

    • Example Input: 29
    • Example Output: XXIX
    • Example Input: 99
    • Example Output: XCIX

Setup/Installation Requirements

  • Clone GitHub Repository
  • Open roman-numerals folder
  • Open index.html in web browser of choice

Known Bugs

There are no known bugs at this time

Support and contact details

Feel free to contact Kristen at kristen.m.kulha@gmail.com or Luciano Oliveira at luciano101@msn.com

Technologies Used

HTML jQuery JavaScript

License

This software is licensed under the MIT license

Copyright (c) 2016 Luciano Oliveira and Kristen Kulha

About


Languages

Language:JavaScript 73.9%Language:HTML 26.1%