i = 12;
(hex string) s = "0x" + (i).toString(16);
(oct string) s = "0" + (i).toString(8);
(bin string) s = (i).toString(2);