101010110
101010110 is a binary numeral consisting of nine digits. In base-2 it represents the decimal value 342, and in hexadecimal it corresponds to 0x156. The bit pattern shows a mostly alternating sequence of 1s and 0s, with a double 1 near the end; the set bits occur at positions 2^8, 2^6, 2^4, 2^2, and 2^1.
In computing, binary strings are used to encode numbers, flags, or instructions. A 9-bit value is not
Interpreted as an unsigned integer, 101010110 equals 342. If interpreted as a signed value in a 9-bit
For further context, see topics such as the binary numeral system, two's complement, hexadecimal notation, bit