Hex hadi Decimal
Badilisha nambari za hexadecimal kuwa desimali kwa urahisi
Chombo cha kubadilisha fedha
Enter a hexadecimal number (0-9, A-F). The '0x' prefix is optional. Choose between unsigned and signed (two's complement) interpretation.
Bits:
0
Type:
Unsigned
Uwakilishi wa Binary:
Kuhusu mifumo ya nambari
Mfumo wa hexadecimal
The hexadecimal system is a base-16 numbering system that uses 16 distinct symbols. These symbols are 0-9 to represent values zero to nine, and A-F (or a-f) to represent values ten to fifteen.
Jedwali la Ubadilishaji wa Hexadecimal hadi Decimal
| Hexadecimal | Decimal | Hexadecimal | Decimal |
|---|---|---|---|
| 0 | 0 | 8 | 8 |
| 1 | 1 | 9 | 9 |
| 2 | 2 | A | 10 |
| 3 | 3 | B | 11 |
| 4 | 4 | C | 12 |
| 5 | 5 | D | 13 |
| 6 | 6 | E | 14 |
| 7 | 7 | F | 15 |
Kikamilisho cha Mbili
Kijalizo cha mbili ni operesheni ya hisabati inayotumiwa kuwakilisha nambari hasi katika mifumo ya binary. Inatumika sana katika kompyuta kwa sababu hurahisisha shughuli za hesabu kama vile kuongeza na kutoa.
Ili kubadilisha nambari chanya kuwa mwenzake hasi katika nyongeza mbili:
- Badilisha nambari kuwa binary.
- Invert all the bits (change 0 to 1 and 1 to 0).
- Ongeza 1 kwa matokeo ya ubadilishaji.
Ili kubadilisha nambari ya nyongeza ya mbili hasi kuwa desimali:
- Geuza bits zote.
- Ongeza 1 kwa matokeo ya ubadilishaji.
- Badilisha matokeo kuwa decimal na uambishi awali kwa ishara hasi.
Mfano: 8-bit Two's Complement
Positive Number (5):
0000 0101 (binary)
Negative Number (-5):
1111 1010 (inverted bits of 5)
1111 1011 (add 1 = two's complement representation of -5)
Masafa ya 8-bit Two's Complement:
-128 (1000 0000) to 127 (0111 1111)
Related Tools
Octal hadi Decimal
Badilisha nambari za octal kuwa desimali bila kujitahidi
Desimali hadi Octal
Badilisha nambari za desimali kuwa octal bila kujitahidi
Maandishi kwa desimali
Badilisha maandishi kuwa uwakilishi wa desimali kwa urahisi
Kibadilishaji cha Kitengo cha Eneo
Badilisha kati ya vitengo tofauti vya eneo kwa usahihi na urahisi
Binary hadi Decimal
Badilisha msimbo wa binary kuwa nambari za desimali kwa urahisi
HEX kwa Pantone
Badilisha kwa usahihi misimbo ya rangi ya HEX kuwa rangi za Mfumo® wa Kulinganisha wa Pantone kwa mahitaji ya muundo wa kitaalamu