On-line calculation of hexadecimal addition, subtraction, multiplication and division



APP description

The hexadecimal addition and subtraction is actually very simple. Just remember that the letters in hexadecimal numbers represent the decimal number. Remember A(10),B(11),C(12),D(13),E(14),F(15)。

However, due to inertial thinking, sometimes we often make the mistake of seeing more than one decimal number represented by letters, such as A as 11, B as 12, so we must remember that A is 10, not 11, and the values represented by other letters should also be noted.

Next, I said that I started to say hexadecimal addition and subtraction. The hexadecimal addition and subtraction is the same as the decimal addition and subtraction algorithm. Just remember a few points, just take 6AE9H+4B7CH, the first place. The number is 9+C(12)=21. If the result is ≥16, the result is subtracted by 16 and the previous number is incremented by one, so the result is 5, E(14)+7= 21, the previous one, so the result is 22, minus 16 is 6, then the previous number into a bit, A (10) + B (11) = 21 ahead of a bit so the result is 22, minus 16 is 6, and then the previous number enters a 6+4=A(10), and the previous one is entered, so the result is B(11), so 6AE9H+4B7CH=A665H.

The subtraction of hexadecimal numbers is also the same, but note that when the number is not enough, the borrowed value from the previous number is not 10, but 16, for example, 4-9 is not enough, borrow one from the front, Not 14-9, but 20-9.

 

    Sign in for comments!
Comment list (0)

Powered by TorCMS (https://github.com/bukun/TorCMS).