title: How to format numbers to a hex strings?
body: <p>I want to format int numbers as hex strings.  <code>System.out.println(Integer.toHexString(1));</code> prints <code>1</code> but I want it as <code>0x00000001</code>. How do I do that?</p>