Code Monkey home page Code Monkey logo

bin2dec's Introduction

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Bin2Dec

An awesome application for converting binary numbers!
View Demo · Report Bug · Request Feature

Table of Contents

About The Project

Product Name Screen Shot

Bin2Dec allows the user to enter strings of up binary digits, 0's and 1's, in any sequence and then displays its decimal equivalent.

The idea of developing this application came from the video More 80 ideas to learn to program by Filipe Deschamps where the App Ideas Collection repository of Florin Pop was presented. I was very excited about the projects, because the ideas in it are very good for spending time programming.

Looking at more of the Florin Pop repositories I discovered this 100Days100Projects and I felt challenged to embark on this challenge. From then on, I started to develop some of the ideas from the App Ideas Collection repository in order to meet the challenge 100Days100Projects.

This project was developed on day 2 of the challenge #100Days100Projects

Idea from App Ideas Collection

Tier: 1-Beginner

Binary is the number system all digital computers are based on. Therefore it's important for developers to understand binary, or base 2, mathematics. The purpose of Bin2Dec is to provide practice and understanding of how binary calculations.

Bin2Dec allows the user to enter strings of up to 8 binary digits, 0's and 1's, in any sequence and then displays its decimal equivalent.

This challenge requires that the developer implementing it follow these constraints:

  • Arrays may not be used to contain the binary digits entered by the user
  • Determining the decimal equivalent of a particular binary digit in the sequence must be calculated using a single mathematical function, for example the natural logarithm. It's up to you to figure out which function to use.

User Stories

  • User can enter up to 8 binary digits in one input field
  • User must be notified if anything other than a 0 or 1 was entered
  • User views the results in a single output field containing the decimal (base 10) equivalent of the binary number that was entered

Bonus features

  • User can enter a variable number of binary digits

Built With

Getting Started

This project follows the pattern generated through the vue-cli

Prerequisites

For the development of this application we have the prerequisite

  • npm

Installation

  1. Clone the repo
git clone https://github.com/JefersonUrbieta/bin2dec.git
  1. Install NPM packages
npm install
  1. Compile and run the project
npm run serve

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Jeferson Urbieta - LinkedIn - [email protected]

Project Link: https://github.com/JefersonUrbieta/bin2dec

Acknowledgements

bin2dec's People

Contributors

jefersonurbieta avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.