title: Format a variable in iReport in a string with multiple fields
body: <p>I have a text field that has the following expression:</p>
  
  <pre><code>$F{casNo} + " Total " + $P{chosenUom} + ": " + $V{total_COUNT}
  </code></pre>
  
  <p><code>casNo</code> is a string, <code>chosenUom</code> is a string. <code>total_COUNT</code> is a sum variable of doubles. The <code>total_COUNT</code> variable displays, but it's got 8 - 10 decimal places (1.34324255234), all I need is something along the lines of 1.34.</p>
  
  <p>Here's what I tried already:</p>
  
  <pre><code>$F{casNo} + " Total " + $P{chosenUom} + ": " + new DecimalFormat("0.00").format($V{total_COUNT}).toString()
  </code></pre>
  
  <p>Any help would be appreciated</p>
  
  <hr>
  
  <p>For now I'm just doing basic math, but I'm hoping for a real solution, not a workaround</p>
  
  <pre><code>((int)($V{total_COUNT}*100.0))/100.0
  </code></pre>