Search

External Platforms & Social Media

misc Articles


Arbitrary Base Conversion

Using floating point division, modulus (finding the remainder), and floor rounding, it is possible to convert any number from base 10, into base n. Beyond base 10, we need to assign other symbols to the digit, or include delimiters, in order to convert back into base 10. For example, hexadecimal …