Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How Convert Decimal to Octal and hexadecimal?

0
10 Posted

How Convert Decimal to Octal and hexadecimal?

0
10

Quite simple – Octal is base 8, hexadecimal, base 16, decimal base 10. This means that in the units column of each base, you have to count to that number before reaching 10. In Octal 10 = 8 decimal, In hexadecimal 10 = 16 decimal. To convert, say 142, to hexadecimal: 142/16 = 8 remainder 14 142 (decimal) is 8E in hexadecimal. ABCDEF are used to denote numbers from 10 to 15 in hexadecimal. Likewise: 142/8 = 17 remainder 6 (to get equivalent of units) 17 divided by 8 = 2 remainder 1 (to get equivalent of hundreds and tens) So 216 is 142 in Octal.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123