That is 31 in decimal
13
45
170
4 + 2 + 1 ie 7
It is Bin(1111111111111111) = Dec(65535).
That is 31 in decimal
The binary number 1111 = 15
13
45
170
110001.01
10
15 = 1111
0X at the beginning represent a number in the hexadecimal system of units. FFFF is the hexadecimal equivalent of i) 65535 in decimal system of units ii) 1111111111111111 in binary system of units
When written as a binary number, the decimal number 63 is: 1 1 1 1 1 1
If you use Windows, you can use the Windows calculator to convert from decimal to binary. Change to scientific mode, be sure the calculator is in decimal, type the decimal number, and switch to binary. If you are practicing decimal to binary conversion, this is a great tool to verify that you have done your calculations correctly.