Converts from dezi to binary or hex, from binary to dezi or hex and from hex to binary or dezi