Skip to content

s8rr/Number-Conversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Number Conversion

A simple web-based tool to convert numbers between different number systems (decimal, binary, octal, and hexadecimal).

Features

  • Convert numbers from one system to another (e.g., decimal to binary, binary to octal).
  • Displays results in all number systems regardless of the chosen conversion.
  • User-friendly interface with dropdowns to select source and target number systems.

How to Use

  1. Open the main.html file in a web browser.
  2. Select the source number system from the first dropdown menu.
  3. Select the target number system from the second dropdown menu.
  4. Enter the number you wish to convert in the input field.
  5. The converted results will be displayed automatically in the "Result" field and also in decimal, binary, octal, and hexadecimal formats below.

Development

Prerequisites

  • A modern web browser (Chrome, Firefox, Safari, Edge).

Running the Converter

  1. Clone the repository:
    git clone https://github.com/s8rr/Number-Conversion.git
  2. Navigate to the project directory:
    cd Number-Conversion
  3. Open the main.html file in your preferred web browser.

Contributing

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature-branch
  3. Make your changes and commit them:
    git commit -m "Description of changes"
  4. Push to the branch:
    git push origin feature-branch
  5. Create a pull request.

License

Fill free to use this code as a base. Make sure to give Credit

About

A simple web-based tool to convert numbers between different number systems (decimal, binary, octal, and hexadecimal).

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages