1.0.9 • Published 3 years ago

binary-to-decimal v1.0.9

Weekly downloads
5
License
ISC
Repository
github
Last release
3 years ago

binary-to-decimal

binary-to-decimal is a really easy nodejs package to convert binary to decimal with just one line of code. You just need to import the package and you can use it anywhere in your code and in your maths app.

Installation

npm i binary-to-decimal --save

Usage

Convert with just one line of code in maths

  • Convert binary numbers into decimal numbers easily with just one code. To get more precise results, in this package I have used Bignumber.js to convert the binary to decimal.

Convert Binary to Decimal:

var binary = require('binary-to-decimal')

console.log(binary.decimal("1010"));
1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago