Sunday, 28 June 2015

Conversion Between Decimals and Bits

Decimal to bits
bin(10)

Bits to decimal
int("1011111",2)

No comments:

Post a Comment