scusa se mi intrometto, premetto che non ho capito bene, cmq hai provato con

Oct() 'ottale
Hex() 'esadecimale
Bin() 'binario