What is the conversion of the binary number 101101101101.110 into a hexadecimal number?
The binary number 101101101101.110 converted into a hexadecimal number is b6d.c.
Conversion between binary and hexadecimal
The conversion between binary and hexadecimal is very similar to the conversion between binary and octal, as follows Let me introduce it to you.
1. First, let’s look at the representation of sixteen digits, as shown in Figure 1.
#2. Next, master the correspondence table between binary numbers and hexadecimal numbers, as shown in Figure 2. Only by firmly grasping the corresponding relationship can you get twice the result with half the effort during the conversion process.
3. The method of converting binary to hexadecimal is to use the four-in-one method, that is, starting from the binary decimal point as the dividing point, moving to the left (or right) Every four digits are taken as one, as shown in Figure 3.
4. After the components are prepared, compare the corresponding table of binary and hexadecimal numbers (as shown in Figure 2), and add the four binary digits according to weight. , the number obtained is a hexadecimal number, and then arranged in order, the position of the decimal point remains unchanged, and the final result is a hexadecimal number, as shown in Figure 4.
5. Pay attention to the hexadecimal representation, which is represented by the letter H suffix. For example, BH represents the hexadecimal number 11; it can also be represented by the 0X prefix, such as 0X23 It is 23 in hexadecimal. The intuitive representation is shown in Figure 5.
6. What needs to be noted here is that when taking four digits to the left (or right), take the highest digit (lowest digit) if you cannot make up the four digits. , you can add 0 to the leftmost (or rightmost) of the decimal point for conversion, as shown in Figure 6.
7. Let’s look at converting hexadecimal to binary and vice versa. The method is to divide one hexadecimal number into four binary numbers. , use four binary digits to add them according to the weight, and finally get the binary system. The decimal point is still fine. As shown in Figure 7.
Notes
Binary to hexadecimal conversion is similar to binary to octal conversion.
Converting hexadecimal to binary is similar to converting octal to binary. Please learn from each other to achieve a comprehensive understanding.
For more related knowledge, please pay attention to PHP Chinese website! !
The above is the detailed content of What is the hexadecimal number converted from the binary number 101101101101.110?. For more information, please follow other related articles on the PHP Chinese website!