This method works for any base, so just replace any 2's in my arithmatic with the other base to make it work for say, base 5.
Consider we have the number 21 base 10 to convert into base 2.
I use a method of remainders, which will give me digits right to left.
21/2 is 10 remainder 1, meaning the last digit is 1, with our number right now being
_ _ _ _ _ 1.
We have 10, which we divide by 2, getting 5 rem. 0, giving us _ _ _ _ 0 1.
We have 5, which we divide by 2, getting 2 rem. 1, giving us _ _ _ 1 0 1.
We have 2, which we divide by 2, getting 1 rem. 0, giving us _ _ 0 1 0 1.
We have 1, which we divide by 2, getting 0 rem. 1, giving us _ 1 0 1 0 1.
This works for any base, and also, once the whole number after dividing reaches zero, such as with the last step, we can quit, because it would just give us a strand of irrelevant zeroes to the left of the answer.
The binary number 11.1 in decimal would be 3.5
Binary 110111 is equivalent to decimal 55.
4F7B: Binary = 100111101111011 Decimal = 20347
Convert 189 to binary number
11.25 is not a valid binary.
000010 in binary is 2 in decimal.
The binary equivalent of the decimal number 63 is 111111.
You can easily convert decimal to binary in the scientific calculator - for example, the scientific calculator found in Windows. In this case, type the number in decimal, then click on "binary" to convert to binary.
a) 6401 in Binary is 1100100000001b) 1010110 in decimal is 86
13 in decimal = 1101 in binary.
11001000