HEX to Binary
Write a hexadecimal whole number as a series of exact binary digits.
Write a hexadecimal whole number as a series of exact binary digits.
How to use
- Copy the input as one hexadecimal integer, keeping all its digits.
- Run the conversion to binary and compare the beginning and end with the example.
- If needed, check the result by mapping each hex digit to four binary positions.
Worked example
Input
0x20000000000001Expected result
100000000000000000000000000000000000000000000000000001Check the result
In this example the first and last binary digits are 1 and all those between them are 0.