title: iReport 3.0.0: How to compare big decimals in field expression
body: <p>Can anyone tell me how to compare two Big Decimal values in <em>field</em> expression (<em>textFieldExpression</em>)? I'm using <em>iReport 3.0.0</em>.</p>
  
  <p>What is the syntax for <em>greater then?</em></p>
  
  <p>This is my expression, and it works but only shows if two values not equal, and I need to check which one is greater (<code>amount &gt; paid_amount</code>).</p>
  
  <p>I'm using this expression:</p>
  
  <pre><code>($F{paid_date}!=null &amp; ($F{amount}.equals($F{paid_amount}))) ? new String ("PAID") :(
  ($F{paid_date}==null) ? new String ("NOT PAID"): (
  ($F{paid_date}!=null &amp; (!$F{amount}.equals($F{paid_amount}))) ? new String ("PARTIALLY PAID"):(new String ("INVOICE MISSING "))))
  </code></pre>