Home > Common Problem > body text

Convert binary 110000 to hexadecimal

Release: 2019-06-10 17:55:53
Original
44627 people have browsed it

Convert binary 110000 to hexadecimal

The binary number 110000 is converted into hexadecimal number 30H. Binary and hexadecimal have 4 bits corresponding to one bit. 110000 should be regarded as 0011 0000. Among them, 0011 corresponds to 3 in hexadecimal, and 0000 is still 0. Therefore, the answer is 30H (hex flag).

Conversion between binary numbers and other base numbers:

(1) Binary to decimal conversion: multiply the base number by the weight, and then add it to simplify the operation You can leave out items whose digits are 0 (because 0 times other numbers that are not 0 are all 0). The same goes for the decimal part, but with less precision.

(2) Convert binary to octal: Use the "three-digit unification method" (which is to group every three digits to the left and right with the decimal point as the center, and add 0 for any shortage). This way you can easily to convert. Example: Convert the binary number (11100101.11101011)2 into an octal number. (11100101.11101011)2=(345.353)8

(3) Binary to hexadecimal conversion: The "four-digit unification method" is used. The integer part starts from the low bit, and every four binary digits are one. Group, if there are less than four digits in the end, add 0 to the high digits until the four digits are completed, or you may not add 0; the decimal part starts from the high digits, and each four-digit binary number is a group. If there are less than four digits in the end, 0 must be added to the low digits. Complete the four digits, replace them with the corresponding hexadecimal numbers, and then write the corresponding hexadecimal numbers in order. Example: Convert the binary number (10011111011.11101100)2 into a hexadecimal number. (10011111011.11101100)2=(4FB.EC)16

The above is the detailed content of Convert binary 110000 to hexadecimal. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template