any-to-any1.1.0 • Public • Published
ANY-TO-ANY - converts numbers between bases ; binary , decimal , octal , hexadecimal and muche more ..
The purpose of this module is to convert numbers from any base to other base you want ..
NOTE: you can send to me for add anything you want in instgram ..
- NPM :
$ npm install any-to-any
The method of use is simple and very easy ... Just follow these steps : Step 1 : Import the module in this way .
const Convert = ;
Step 2 : Enter the input number , the input base and the output base you want to the function .
let InputNumber = "1110111"; // 119 in decimallet InputBase = 2 ;let OutputBase = 8 ;let result = ;console;
Step 3 : Execute method to see the result ..
NOTE: in case the input number is consists of numbers only , you can enter the number to the function in number type .. so the step 2 will be :
let InputNumber = 1110111; // 119 in decimallet InputBase = 2 ;let OutputBase = 8 ;let result = ;console;
Some possibilities ...
The result ...
Some Informations :
Switching between bases numbers is becoming easier with this module .. This module can convert the integers numbers between base 2 & base 36 and soon it will be possible to convert real numbers ...
What new in the future ?
Develop the module more on the conversion in the large bases ...