answersLogoWhite

0


Best Answer

If you mean a straight forward algorithm, then yes.

I guess you want to know what it is...

  1. Start at the left hand end of the binary number with the result (decimal number) set to zero
  2. double the result and add the current binary digit
  3. if there are more binary digits move one binary digit to the right and repeat step 2
  4. repeat steps 2 and 3 until all the binary digits have been used.
  5. the result is the decimal equivalent

for example converting 101002 to decimal:

1. set result to 0, start with the first binary digit (of 10100) which is 1

2. 2 x 0 + 1 = 1

3. 2nd binary digit (of 10100) is 0

2. 2 x 1 + 0 = 2

3. 3rd binary digit (of 10100) is 1

2. 2 x 2 + 1 = 5

3. 4th binary digit (of 10100) is 0

2. 2 x 5 + 0 = 10

3. 5th binary digit (of 10100) is 0

2. 2 x 10 + 0 = 20

3. no more binary digits

4. 101002 = 2010

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is there a formula that can be used to convert Binary to decimal that is straight forward?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the Formula to change kg's in meters?

there is no straight forward formula. you need to get density, use it to get volume, then use shape and other 2 dimensions to get back to distance


Board of Directors of Encore Retirement Communities in Kitsap County Washington State?

This is a very straight forward question what is the problem? This is a very straight forward question what is the problem? This is a very straight forward question what is the problem? This is a very straight forward question what is the problem? This is a very straight forward question what is the problem? This is a very straight forward question what is the problem?


How do you make a sentence using straight forward?

I appreciate your straight forward responses.


What are the release dates for Straight Forward - 2005 I?

Straight Forward - 2005 I was released on: USA: 2005


How do you be straight forward in your actions without being rude?

When you want to be straight forward, it is hard to be kind. Just try to be nice, and be recognized for your straight forwardness and not kindness.


What is the formula for calculating forward FX?

The formula for calculating forward FX is Forward price - SpotÊÊprice x 12 x 100. This is used to compute the annual forward premium.Ê


Is neill straight forward?

he is a brainiac


How do you walk in a straight line if you are lost?

Walk forward in a straight line.


What is the answer to 2xsquared plus 18x-14?

By using the quadratic formula the given quadratic expression will factor into irrational numbers and so therefore a straight forward answer is quite difficult.


How do you convert dependent current source into independent current source?

There is no simple, straight forward, one-fits-all formula. There is a method, however-creating a thevanin equivalent circuit with one resistive element and your voltage source, you can convert this to a current source (I = V / R).


How you prononuce word epilepsy?

straight forward ;-)


What is the antonym for straight forward?

bent backward