Display portion of the variable

In reply to dave_59:

Thank you Dave. Is there any way to play with %4x or %8x etc, something like that, without casting or part select, as originally I was thinking that it is possible to control the precision points. This is just for curiosity otherwise solution is going to work.