Skip to content

The Roman Numeral project is a utility that allows users to convert between Roman numerals and Arabic numerals

Notifications You must be signed in to change notification settings

Devkant01/Roman-Numeral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Roman Numeral Project

Overview

The Roman Numeral project is a utility that allows users to convert between Roman numerals and Arabic numerals. It provides functionalities to convert both Roman numerals to Arabic numerals and vice versa. This README.md file provides an overview of the project, its functionalities, and examples of input and output for each feature.

Features

Roman to Numeral Conversion

The project allows users to convert Roman numerals to Arabic numerals. To use this feature, call the romanToNumeral() function and pass a valid Roman numeral as the input. The function will return the corresponding Arabic numeral.

Example: Input: "XIV" Output: 14

Numeral to Roman Conversion

The project also supports converting Arabic numerals to Roman numerals. To use this feature, call the numeralToRoman() function and pass a valid Arabic numeral as the input. The function will return the corresponding Roman numeral.

Example: Input: 49 Output: "XLIX"

Other Functionalities

In addition to the conversion functionalities, the Roman Numeral project also provides the following features:

  • Validation: The project includes functions to validate whether a given input is a valid Roman numeral or Arabic numeral.
  • Error Handling: The project handles invalid inputs gracefully and provides appropriate error messages.
  • User-Friendly Interface: The project provides a user-friendly interface to interact with the conversion functionalities.

Usage

To use the Roman Numeral project, follow these steps:

  1. Clone the repository to your local machine.
  2. Open the terminal and navigate to the project directory.
  3. Run the project using the file index.html.
  4. Follow the on-screen instructions to convert Roman numerals to Arabic numerals or vice versa.

Contributing

If you would like to contribute to the Roman Numeral project, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them with descriptive commit messages.
  4. Push your changes to your forked repository.
  5. Submit a pull request to the main repository.

License

The Roman Numeral project is licensed under the MIT License. See the LICENSE file for more information.

About

The Roman Numeral project is a utility that allows users to convert between Roman numerals and Arabic numerals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published