Convert 42 both ways
- Input
- Type 42 in Decimal to Binary and 101010 in Binary to Decimal.
- Result
- The first result is 101010; the second result is 42.
- How to check it
- In binary, the active places are 32, 8 and 2, which sum to 42.
Convert small nonnegative integers between decimal and binary and calculate with binary values.