Number base transformer - (all possibilities)
This is a project that will work with translation of numerical bases, and all transformations will be possible:
Binary to octal;
Binary to decimal;
Binary to hexadecimal.
Octal to binary;
Octal to decimal;
Octal to hexadecimal.
Decimal to binary;
Decimal to octal;
Decimal to hexadecimal.
Hex to binary;
Hex to octal;
Hex to decimal.
The operation is done by sending the numbers to the translator function to decimal, saving the result in a variable, then sending this variable to the respective translator function.
Ex: 4EF - HEX -> ? BIN
4EF -> DEC
DEC -> DecToBin
DecToBin = 10011101111