Convert the following decimal numbers into hexa decimal numbers 698
Answers
Answered by
0
We can use the following method:
- Floor divides the first number;
- The quotient of the previous step will be the next number;
- Repeat until the quotient is 0; and
- Combine the digit.
698 // 256 = 2;
698 % 256 = 186;
186 // 16 = 11;
186 % 16 = 10;
10 // 1 = 10;
10 % 1 = 0.
So the answer is 0x2ba (note that "b" is the 11th element of the hexadecimal set and "a" is the 10th element of the hexadecimal set).
Similar questions