ak-hu / binary-calculator

Binary Calculator is a simple calculator that performs arithmetic operations on binary numbers. It supports addition, subtraction, multiplication, and division of binary numbers.

Home Page:https://codepen.io/ak-hu/full/QWJdjbQ

Repository from Github https://github.comak-hu/binary-calculatorRepository from Github https://github.comak-hu/binary-calculator

Binary Calculator

Binary Calculator is a simple calculator that performs arithmetic operations on binary numbers. It supports addition, subtraction, multiplication, and division of binary numbers.

Features

  • Addition of binary numbers
  • Subtraction of binary numbers
  • Multiplication of binary numbers
  • Division of binary numbers

Installation

  1. Clone the repository: git clone https://github.com/ak-hu/binary-calculator.git
  2. Open the project directory: cd binary-calculator
  3. Open the index.html file in a web browser.

Usage

  1. Enter two binary numbers in the input fields.
  2. Select the operation to perform (addition, subtraction, multiplication, or division).
  3. Click the "Calculate" button to see the result.

Examples

  • To add two binary numbers:

    • Number 1: 101
    • Number 2: 11
    • Operation: Addition
    • Result: 1000
  • To subtract two binary numbers:

    • Number 1: 1010
    • Number 2: 110
    • Operation: Subtraction
    • Result: 1000

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project does not have a specific license

About

Binary Calculator is a simple calculator that performs arithmetic operations on binary numbers. It supports addition, subtraction, multiplication, and division of binary numbers.

https://codepen.io/ak-hu/full/QWJdjbQ


Languages

Language:JavaScript 59.6%Language:HTML 22.1%Language:CSS 18.3%