1.0.4 • Published 5 years ago

binaryconversor v1.0.4

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

��Convert between binary and decimal with this simple api.

binaries must be entered as a string. Decimals must be positive integers. Wrong values are returned as undefined with a message in the console.

let conversor = require('binaryConversor');

let d2b = conversor.d2b(13); g let b2d = conversor.b2d('1101');

console.log('d2b', d2b); // '1101' console.log('b2d', b2d); // 11

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago