Home  >  Article  >  What is the decimal equivalent of the hexadecimal number CD?

What is the decimal equivalent of the hexadecimal number CD?

青灯夜游
青灯夜游Original
2020-07-24 13:54:1726315browse

The decimal equivalent of the hexadecimal number CD is: 205. The decimal value corresponding to C is 12, and the decimal value corresponding to D is 13; the hexadecimal number CD converted to decimal number is: 12*16^1 13*16^0=205.

What is the decimal equivalent of the hexadecimal number CD?

CD (hexadecimal) = 11001101 (binary) = 205 (decimal)

Use decimal numbers The following characters represent

0 1 2 3 4 5 6 7 8 9

Hexadecimal numbers are represented by the following characters

0 1 2 3 4 5 6 7 8 9 A B C D E F

The binary number is represented by the following characters

0 1

where:

C( Hexadecimal) = 1100 (binary) = 12 (decimal)

D (hex) = 1101 (binary) = 13 (decimal)

CD sixteen Convert base to decimal number

1, hexadecimal=>binary=>decimal

CD (hexadecimal) -> 11001101 (binary), converted to decimal number:

1×27 1×26 0×24 0×24 1×23 1×22 0×21 1×20=205.

2. Hexadecimal => Decimal

12*16^1 13*16^0=205

More related knowledge , please visit: PHP中文网!

The above is the detailed content of What is the decimal equivalent of the hexadecimal number CD?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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