Writing a number in binary is writing it with the digits 0 and 1 only, where each place is worth twice the place on its right: 1, 2, 4, 8, 16, and so on, from the right. A number written this way is a binary number.
उदाहरण
Example 11.4 (Writing 22 and reading 10011)
For 22: 16 fits, 6 is left; 8 does not fit; 4 fits, 2 is left; 2 fits, 0 is left; 1 does not fit. So 22 is 10110 in binary. To read 10011, add the values of the places that hold a 1: .