HEX to Octal
Use base eight to represent the same whole number originally written in hexadecimal.
Use base eight to represent the same whole number originally written in hexadecimal.
How to use
- Copy the full sample as one uninterrupted value.
- Run the conversion from hexadecimal to octal.
- Check the output against the example and confirm that each digit lies between 0 and 7.
Worked example
Input
20000000000001Expected result
400000000000000001Check the result
The sample’s octal representation ends in 1.