String format 02x. format ("%02x", -1); Note, -1 here is two's com...