Skip to content

Binary conversion algorithms written with ❤️ in Vanilla JS

Notifications You must be signed in to change notification settings

yannickBona/binary-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binary Converter

This simple application written in Vanilla JS converts Binary to Decimal & vice versa.

binary_calculator

Supported Conversions

Please find below the list of all the supported conversions

Positives

  • Binary → Integer;
  • Integer → Binary;
  • Float → Binary (16-bit precision);
  • Binary → Float (16-digit precision);

Negatives

  • -Binary → -Integer;
  • -Integer → -Binary;
  • -Float → -Binary (16-bit precision);
  • -Binary → -Float (16-digit precision);

Notes

The conversion algorithms refer to the processes underlying the methods .toString(number, 2) and .parseInt(string, 2), which already convert Binary to Decimal and vice versa. These two methods were not used to obtain the final results to enhance the complexity of this project.

Feedback

Any feedback will be highly appreciated 🙂

About

Binary conversion algorithms written with ❤️ in Vanilla JS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published