title: Formatting Dollar Value with DecimalFormat
body: <p>I need to display a dollar value with the following requirements.</p>
  
  <ol>
  <li>If the value is less than a dollar, place a leading zero. e.g 0.55</li>
  <li>If the value has no cents, place two trailing zeros. e.g. 100.00</li>
  <li>Here's the tricky part. The value may be less than a cent, in which case it should be printed as-is. e.g 0.005</li>
  </ol>
  
  <p>Is it possible to implement this with <code>DecimalFormat</code>? If it wasn't for the last requirement, a pattern of "0.00" would do, but I'm not sure how to do the last.</p>