Tutorials Navigation

Tutorials :: New :: Popular :: Top Rated

Tutorials: 18,357 Categories: 12

Total Tutorial Views: 42,397,244

How to convert real numbers into Binary

Tutorial Name: How to convert real numbers into Binary  

Category: PC Tutorials

Submitted By: Skittle

Date Added:

Comments: 2

Views: 988

Related Forum: PC Building Forum

Share:

In this tutorial I will show you how to convert regular numbers that we use everyday into computer code Binary numbers.

Step 1
First, you need to get your number, for this tutorial I will use the number 231.

Step 2
You will now need to draw out your 8 column, 2 row Binary table, this is where you will figure out the Binary representation of the number

It should look like this:
[ Register or Signin to view external links. ]

Step 3
Now we need to go through each number in the table from left to right and see if it goes into the number that we selected earlier (231)

This is the logical process that we will go through:

Does 128 go into 231?
Yes, we put a '1' under 128:
[ Register or Signin to view external links. ]
We now take away 128 from 231 and carry on the process
231 - 128 = 103

Does 64 go into 103?
Yes, we put a '1' under 64:
[ Register or Signin to view external links. ]
We now take away 64 from 103 and carry on the process
103 - 64 = 39

Does 32 go into 39?
Yes, we put a '1' under 32:
[ Register or Signin to view external links. ]
We now take away 32 from 39 and carry on the process
39 - 32 = 7

Does 16 go into 7?
No, we put a '0' under 16 and carry on the process, without taking 16 away from 7:
[ Register or Signin to view external links. ]

Eventually we will get to the end of our table, every column in the second row should now have a '1' or a '0' in it, here is the finished table for the number 231:
[ Register or Signin to view external links. ]

We can check that this is correct by adding up all of the numbers from the top row that have '1's in the bottom row:
128 + 64 + 32 + 4 + 2 + 1 = 231

We have done it correctly, you now know how to convert regular numbers into Binary!

If you have any issues, or need any help feel free to PM me!

Ratings

Current rating: 10.00 by 1 user
Please take one second and rate this tutorial...

Not a Chance
1
2
3
4
5
6
7
8
9
10
Absolutely

Comments

"How to convert real numbers into Binary" :: Login/Create an Account :: 2 comments

If you would like to post a comment please signin to your account or register for an account.

KatsumiPosted:

This would've really helped me back in University. Thanks for this :)

GTTPosted:

I have just been learning this today, haha.