• Killing_Spark@feddit.de
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    11 months ago

    Yep. In computer science you sometimes need to calculate with hexadecimal numbers where 10-15 are the letters A-F. You just use another factor for scaling “easily”.

    In hexadecimal 10 is 16 in decimal. So if you do C * 10 it’s C0 but that is 192 in decimal (12 * 16, remember the base is 16).

    Whats cool though is that (all hexadecimal):

    10 / 2 = 8

    10 is 2 to the power of 4 which means 10 is divisible by 2 4 times.

    Similarly (and arguably even cooler) with a base 12 system 10 is divisible by 2 AND 3!

    10 / 3 = 4
    10 / 2 = 6