### How to draw a binary to decimal flowchart

Binary to decimal flowchart is drawn as follows:

1, start typing the binary number, starting from the right side, in turn, multiply each binary digit by 2 to the nth power (n is the binary bit in the binary number of the position of the right-most one of the n is 0), and add up to get the number of decimal digits.

2, open the flowchart tool to create a new flowchart file, select the “Start” node, drag to the canvas.

3, select the “Input Binary Number” node, drag to the “Start” node below, select the “Processing” node, drag to the “Input Binary Number” node, drag to the “Processing” node, drag to the “Processing” node, drag to the “Processing” node, drag to the “Processing” node. Select the “Processing” node and drag it below the “Input Binary Number” node.

4. Select the “Output Decimal Number” node, drag to the bottom of the “Processing” node, select the “End” node, drag to the bottom of the “Output Decimal Number” node. “Output Decimal Number” node below.

5, connect the nodes, connected in accordance with the process order, according to the need to add nodes between the judgment conditions and loops and other control structures, and finally, adjust the location of the nodes and the layout of the line can be.

### Binary how to convert to decimal (detailed steps)

Mnemonic: integer binary multiply the value by the power of 2 sequentially, decimal binary multiply the value by the negative power of 2 and then sequentially.

1, integer binary conversion to decimal: first of all, the binary number of complementary digits, the first if the first is 0 on behalf of a positive integer, if the first is 1 on behalf of a negative integer.

If the binary complementary digits after the first 1, as shown in the figure below, it is necessary to take the inverse and then converted:

2, the binary conversion of decimals to decimal: the binary of the four decimals in the next (as shown in the figure below) corresponding to the value of the value of the multiplication and then add the value of the conversion of the decimal system.

Extended information

Difference between binary and decimal:

1, different uses: binary is mainly used for computer operations, decimal is mainly used in daily life.

2, the composition is different: binary only two numbers 0 and 1 to represent, decimal is by 0,1,2,3,4,5,6,7,8,9 ten basic numbers composed of the number system.

3, the rules are different: binary entry rules are “two into one”, borrowing rules are “borrow one as two”. The decimal system is based on the bit system and decimal two principles, that is, all the numbers are expressed in 10 basic symbols, “full ten into one”, while the same symbol in different positions on the value of the different symbols, symbols of the position is very important. The basic symbols are the ten numbers from 0 to 9. To represent the ten times these ten numbers, move these numbers one place to the right and fill in the empty space with 0.

### How to convert binary to decimal?

How to convert binary to decimal

The method is: Expand and add the binary numbers by weight to get the decimal number.

(The specific usage is shown below)

So (10101010)2=170

Binary to octal

The method is: 3-bit binary number is expanded and added to get 1-bit octal number. (Note that 3-bit binary to octal is converted from right to left, with zeros added in case of shortage).

(Specific use of the following chart)

So (10101010)2 = (252)8 Generally expressed as: 0252

Binary to hexadecimal

Methods: binary to octal method is similar to the octal method, the octal is to take the three in one, hexadecimal is to take the four in one. (Note that 4-bit binary to hexadecimal is converted from right to left to start, not enough to make up for the 0).

(Specific use of the following chart)

So (10101010)2 = (AA)16 Generally expressed as follows: 0xAA