How to convert decimal between binary decimal
How to convert decimal between binary decimal? Interested partners to find out.
Tools/Materials
Paper, pen
Decimal decimal to binary conversion 01
Steps:
1. Decimal part *2;
2. The result obtained *2, take the integer part.
3. The result obtained *2, taking the integer part.
4. Keep multiplying by 2 until there is 0 after the decimal point.
5. Sort them in order from top to bottom.
02
Taking 0.125 as an example, multiply by 2 to get 0.25. The integer part is 0.
03
Multiply 0.25 by 2 again to get 0.5. The integer part is 0.
04
Multiply 0.5 by 2 again to get 1. The integer part is 1.
05
Sort the numbers from the top down to get 0.001.
Binary to Decimal Conversion 01
Steps:
1. First decimal *1/2; negative power of two.
2. Second decimal * 1/4; negative quadratic of two, taking the integer part.
3. Third decimal * 1/8, the negative third power of two, taking the integer part.
4. And so on, for how many decimals, multiply by the negative several times square of two.
5. Finally add up all the numbers.
02
Taking 0.1101 as an example, 1*1/2.
03
1*1/4.
04
0*1/8.
05
1*1/16, the final result is 0.8125.
How to convert decimal binary to decimal?
Binary decimals all have a bit power of a negative integer power of 2, i.e. the order is negative.
For example, a binary decimal number, 0.101101b, is converted to a decimal decimal number:
0.101101b=1*2^(-1)+0*2^(-2)+1*2^(-3)+1*2^(-3)+1*2^(-4)+0*2^(-5)+1*2^(-6)=0.703125d.
Binary numbers:
Binary number division is very similar to decimal number division, you can first start from the highest place of the divisor, compare the divisor (or middle remainder) with the divisor, if the divisor (or middle remainder) is greater than the divisor, subtract the divisor from the divisor (or middle remainder), the quotient will be 1 and get the middle remainder after the subtraction, or else the quotient will be 0.
And then add the next place of the divisor to the middle remainder. Remainder of the last place, repeat the above process, you can get the required quotient of each and the final remainder.
How to convert binary decimals to decimal decimals
Method: “Summing by power expansion”
Example:
(1011.01)2
= (1×2^3+0×2^2+1×2^1+1×2^0+0×2^( -1)+1×2^(-2)
)10
= (8+0+2+1+0+0+0.25)10
= (11.25)10
Regularity: the number of times the digit in the first digit is 0, the number of times the digit in the tenth digit is 1, …… , in increasing order, while the number of times the number in the tens
is -1, and the number of times the number in the percentile is -2, …… , in decreasing order.
Note: Not any decimal decimal number can be converted to a finite bit binary number.
What is the method of converting binary decimals to decimal decimals
Set a binary decimal expressed as 0.abcd…… then convert to decimal
then = a/2+b/2^2+c/2^3+d/c^4+……
For example, a binary representation of a decimal number 0.1101 is represented as a decimal number by the above formula
=1/2+1/4+0/8+1/16
=0.5+0.25+0+0.0625
=0.8125
How do you convert binary decimals to decimal numbers?
As with integers, start counting from the first digit after the decimal point, the first digit is 1/2, the second digit is 1/4, then 1/8, then 1/16, and so on, e.g.
Binary 1.011=1+0*1/2+1*1/4+1*1/8=1+0.25+0.125=Decimal 1.375