School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 306,989 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,929 people online right now. Registration is fast and FREE... Join Now!




Checking Binary to Decimal

 

Checking Binary to Decimal, Converting Binary to Decimal

jpconleyiv

6 Sep, 2009 - 04:11 PM
Post #1

D.I.C Head
Group Icon

Joined: 9 Mar, 2009
Posts: 88



Thanked: 4 times
My Contributions
Hey guys and gals!! I would just like some of you to double check my work if you dont mind. Thanks in advance for checking this out!!

11001 = 273

1100.1001 = 15.10

I just need reassurance that I am doing this correctly or not. Thanks again everyone!!!

User is offlineProfile CardPM
+Quote Post


Neumann

RE: Checking Binary To Decimal

6 Sep, 2009 - 04:20 PM
Post #2

I can judge a book by its cover
Group Icon

Joined: 8 Jul, 2009
Posts: 686



Thanked: 93 times
Dream Kudos: 225
My Contributions
11001 = 25 (2^4 + 2^3 + 2^0)

1100.1001 = 12.5625 (2^3 + 2^2 + 2^-1 + 2^-4)
User is offlineProfile CardPM
+Quote Post

jpconleyiv

RE: Checking Binary To Decimal

6 Sep, 2009 - 05:00 PM
Post #3

D.I.C Head
Group Icon

Joined: 9 Mar, 2009
Posts: 88



Thanked: 4 times
My Contributions
QUOTE(Neumann @ 6 Sep, 2009 - 04:20 PM) *

11001 = 25 (2^4 + 2^3 + 2^0)

1100.1001 = 12.5625 (2^3 + 2^2 + 2^-1 + 2^-4)


I see what I did wrong now. Thanks!! I am just a little confused to the .5625.

I get 12.14 I take -2 +16.

Thanks again
User is offlineProfile CardPM
+Quote Post

Neumann

RE: Checking Binary To Decimal

6 Sep, 2009 - 05:10 PM
Post #4

I can judge a book by its cover
Group Icon

Joined: 8 Jul, 2009
Posts: 686



Thanked: 93 times
Dream Kudos: 225
My Contributions
2^-1 = 1/2

2^-4 = 1/16

2^-1 + 2^-4 = 1/2 + 1/16 = 0.5625
User is offlineProfile CardPM
+Quote Post

jpconleyiv

RE: Checking Binary To Decimal

6 Sep, 2009 - 05:14 PM
Post #5

D.I.C Head
Group Icon

Joined: 9 Mar, 2009
Posts: 88



Thanked: 4 times
My Contributions
AHHH... I see now!!! Thanks I really appreciate it!!!!
User is offlineProfile CardPM
+Quote Post

Neumann

RE: Checking Binary To Decimal

6 Sep, 2009 - 05:20 PM
Post #6

I can judge a book by its cover
Group Icon

Joined: 8 Jul, 2009
Posts: 686



Thanked: 93 times
Dream Kudos: 225
My Contributions
No problem!
User is offlineProfile CardPM
+Quote Post

SexySquirrel

RE: Checking Binary To Decimal

10 Sep, 2009 - 05:16 PM
Post #7

D.I.C Head
**

Joined: 30 Aug, 2009
Posts: 54


My Contributions
What does the " ^ " simbol represent?
User is offlineProfile CardPM
+Quote Post

Neumann

RE: Checking Binary To Decimal

10 Sep, 2009 - 05:34 PM
Post #8

I can judge a book by its cover
Group Icon

Joined: 8 Jul, 2009
Posts: 686



Thanked: 93 times
Dream Kudos: 225
My Contributions
"^" is a common way of denoting an exponent of a number. So if I want to represent 2 to the fifth power I would write 2^5.
User is offlineProfile CardPM
+Quote Post

calvinthedestroyer

RE: Checking Binary To Decimal

3 Nov, 2009 - 09:06 PM
Post #9

D.I.C Regular
***

Joined: 13 Oct, 2007
Posts: 287



Thanked: 3 times
Expert In: QBasic, Legos

My Contributions


I wrote a sub routine in QBasic to convert bin to dec. It works pretty good. I learned how to do it from my college math book.
smile.gif
User is offlineProfile CardPM
+Quote Post

KeyboardKowboy

RE: Checking Binary To Decimal

4 Nov, 2009 - 05:51 AM
Post #10

D.I.C Head
Group Icon

Joined: 15 Dec, 2008
Posts: 89



Thanked: 10 times
My Contributions
You can always use the calculator program within Windows to check your binary and decimal math. Simply change the calculator to run in Scientific mode, make sure you are set to DEC, type in a decimal number, then click the BIN radio button and your decimal will convert to it's respected Binary number. This also works in reverse. Again, it's an easy way to double check your work.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 05:46AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month