Revert "Revert "display value in hex and octal""

This reverts commit 6221da3d0730dfe08a79ef824c90e9f5791b8272.
invitation