CSC104SLOG
Friday, November 20, 2015
Binary to Decimal
Binary to Decimal
11111111
2^7=128
2^6=64
2^5=32
2^4=16
2^3=8
2^2=4
2^1=2
2^0=1
128+64+32+16+8+4+2+1=255
Decimal to Binary
D to B
255=(11111111)
255/2=127=====1
127/2=63======1
63/2=31=======1
31/2=15=======1
15/2=7========1
7/2=3=========1
3/2=1=========1
1/2=0=========1
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)