Converting numbers (binary and so on)

  • Thread starter Thread starter soonsoon88
  • Start date Start date
  • Tags Tags
    Numbers
Click For Summary

Discussion Overview

The discussion revolves around the conversion of the decimal number 0.65 into binary, octal, and hexadecimal formats. Participants explore various methods for performing these conversions, including both manual techniques and online tools.

Discussion Character

  • Homework-related
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants suggest using online tools for conversion but emphasize the importance of understanding the process for educational credit.
  • One participant proposes converting 0.65 into a fraction (13/20) and then performing long division in the new base to find the binary, octal, and hexadecimal equivalents.
  • Another participant mentions that after converting to binary, there is a shortcut to convert to octal and hexadecimal by grouping bits into threes and fours, respectively.
  • Some participants indicate that the "repeated multiplication by new base" method is more suitable for manual calculations, while others suggest that long division is a more systematic approach.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method for conversion, with differing opinions on the effectiveness of online tools versus manual calculations and varying preferences for specific techniques.

Contextual Notes

Participants express uncertainty regarding the best approach for conversions, highlighting that different methods may have advantages depending on the context (e.g., manual versus computational). There is also a lack of clarity on the specifics of long division in different bases.

soonsoon88
Messages
53
Reaction score
0
Anyone can help me to solve the problem?

how to convert 0.65 (decimal numbers) to binary,octal and hexadecimal numbers?
thx..=)
 
Physics news on Phys.org
soonsoon88 said:
Anyone can help me to solve the problem?

how to convert 0.65 (decimal numbers) to binary,octal and hexadecimal numbers?
thx..=)

I would first convert 0.65 into a proper fraction of the lowest common denominator in base 10, convert the numerator and denominator to the new base, then do long division.

0.65 = 65/100 = 13/20 ----> 1101/101002 = 15/248 = D/1416

Of course, you have to know how to do long division in the different bases.
 
eugenius said:
Here is a website that does it for you. http://www.easysurf.cc/cnver17.htm#b10tob2

Once you are done reading that, for Octal and Hex its exactly the same process except you multiply and divide by 8 and 16 instead of by 2.

After you've converted 0.65 to binary, there's a shortcut to convert it to octal and hex. Just group the bits into 3s (for octal) and 4s (for hex). For example, 0.101 would be 0.5 in octal and 0.A in hex.

By the way, you can also check your binary answer with the decimal/binary converter I wrote: http://www.exploringbinary.com/binary-converter/ . It is arbitrary precision, which means you can convert very large and very small numbers.
 
OmCheeto said:
I would first convert 0.65 into a proper fraction of the lowest common denominator in base 10, convert the numerator and denominator to the new base, then do long division.

0.65 = 65/100 = 13/20 ----> 1101/101002 = 15/248 = D/1416

Of course, you have to know how to do long division in the different bases.

That would be the best way to do it in a computer, but I'd say the "repeated multiplication by new base" method works best for humans!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
5K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
11K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
11K
  • · Replies 10 ·
Replies
10
Views
2K