title: Apache POI, force currency format with two decimal points
body: <p>I try to force Apache POI to produce two digits currency format.</p>
  
  <p>I managed to produce style formatting:</p>
  
  <pre><code>cellStyle.setDataFormat(wb.createDataFormat().getFormat("$#,##0.00"))
  </code></pre>
  
  <p>However, once executed in Excel, I receive the following error which I would like to get rid off: </p>
  
  <p>error: <code>some number formats may have been lost</code>, </p>
  
  <p>numbers appear to have from 2 decimal points up to 5.</p>
  
  <p>I tried to find legend of apache POI formatting, no success though. </p>