$bin = sprintf "%b", oct "0x$hex"; $hex = sprintf "%x", oct "0b$bin"; [download]
In reply to Re: hex to bin by I0 in thread hex to bin by Eureka_sg