title: How to format integers using DecimalFormat in Java?
body: <p>How does the syntax of <code>DecimaFormat</code> work?
  I'm trying to make <code>1234567890</code> --> <code>1-234-56789-0</code>.  So I tried <code>DecimalFormat("#-###-#####-#);</code>
  But that's clearly wrong!</p>