ConversionSummary Sheet
Decimal to other bases
- For positive or unsigned numbers:
- Use the right-to-left or left-to-right dividing-by-the base method
Other bases to decimal
- For positive or unsigned numbers:
- Multiply each digit by its corresponding power of the base
- Add up the products
Among binary, octal, and hex
- For all bit patterns, whether signed or unsigned, just group and ungroup bits:
- Octal: group/ungroup by 3 bits
- Hex: group/ungroup by 4 bits