radix-cross-conversion
v1.0.0
Published
Convert numbers from and to different bases
Downloads
4
Maintainers
Readme
radix-cross-conversion
Convert numbers from and to different bases
Install
$ npm install --save radix-cross-conversion
Usage
const Radix = require('radix-cross-conversion');
let ten = new Radix(10);
ten.to(2).value; // Simple conversion
//=> '1010'
ten.from(2).to(16).value; // Method chaining
//=> 'a'
Testing
$ npm test
License
MIT © EL AZZABI Ahmed