Conversion of numbers from different number systems in binary boils down to their view of different combinations of two numeric characters of the system – 0 and 1. To convert the number from decimal system in binary most commonly used method of successive division by 2 where 2 is the category of a binary code similar to 10 in decimal notation.
However, this method is suitable when translating integers to fractions use the same, opposite, multiplication. Namely, multiply the fractional part by 2 successively until, until the whole part. With good multiplication that result in a number greater than 1, brings the total number of the binary digit 1. And failed, after which the number is still less than 1, gives a figure of 0. In this figure the fraction in binary form is written after the decimal point as in the original decimal.
Consider this simple method on a concrete example. To start, take a simple decimal fraction of 0.2. Multiply consistently to 2:0,2*2 = 0,4 => 0,0_2;0,4*2 = 0,8 => 0,00_2;0,8*2 = 1,6 => 0,001_2;
Discard the integer part and continue the same steps:0,6*2 = 1,2 => 0,0011_2;Again throw away the integer part, and you will return to the number of 0.2. Binary fraction turned out to be cyclic, i.e. repeated, abbreviated record:0,2_10 = 0,(0011)_2, where the brackets indicate a repeatability of the same group of numbers.
For the transfer to binary system fraction with the whole part first, translated it, and then the number after the decimal point. For example, set the number of 9.25.To translate the whole part, use the method of successive division:9/2 = 4 remainder 1;4/2 = 2 and 0 in the remainder;2/2 = 1 and 0 in the remainder;½ = 0 and 1 remainder.Note the resulting balances from right to left: 9_10 = 1001_2.
Now turn the fractional part:0,25*2 = 0,5 => 0;0,5*2 = 1 => 1.This time you are lucky, the shot was not cyclical. Record the result:9,25_10 = 1001,01_2.
Advice 2 : How to translate in decimal system binary number
Binary or binary numeral system is used to display electronic information. Any number can be written in binary. The binary system is used in all computers. Each entry in them is coded according to certain rules using a set of two symbols: 0 and 1. To translate a binary number into its decimal representation, more convenient for the user by using the developed algorithm.
Write down the binary representation of the number on the paper. The number must be eight digits. If signs are missing, add the number to the left the necessary number of zeros to a total of 8 digits.
Imagine the number as a record of the amount of degrees the base 2. To do this, all eight digits are sequentially multiplied by the number 2 raised to the power. The degree must correspond to the category numbers. The discharge is from the ground up, starting with the youngest, the rightmost characters of the binary number. All eight works composed in record amount.
Calculate the resulting expression. The result of the sum will correspond to the original binary number represented in decimal.