title: Formatting/Pattern issue - Appending the Int with text is causing formatting error
body: <p>So I am running into issues with <em>JasperReports</em> pattern field. I have created a cross tab and I need all <code>$F{ScoreMeasure}</code> to have two decimal places and appended with a "%" sign. So for example a cell for the <code>$F{ScoreMeasure}</code> in the crosstab should show 25.42%.</p>
  
  <p>The issue I have come across is I appended the "%" sign by adding it to the text field expression:<code>$V{ScoreMeasure}+"%"</code>. This works fine with whole numbers.</p>
  
  <p>When I try add the two decimal places by adding the pattern <code>#,##0.00</code> and run the report I get some fields have two decimals and others have multiple (up to 8).</p>
  
  <p>If I drop the appended text (+"%") from the text field expression I get the right format. But I cant work out how to get the two?</p>
  
  <p>Here's an extract of when it is working without the "%" appended:</p>
  
  <pre><code>&lt;crosstabCell width="73" height="25" rowTotalGroup="Name"&gt;
                      &lt;cellContents backcolor="#005FB3" mode="Opaque"&gt;
                          &lt;box&gt;
                              &lt;pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/&gt;
                          &lt;/box&gt;
                          &lt;textField pattern="#,##0.00"&gt;
                              &lt;reportElement style="Crosstab Data Text" x="0" y="0" width="73" height="25" forecolor="#FFFFFF" uuid="50401fd4-b9b1-4bf2-bd74-9a0f083e77ff"/&gt;
                              &lt;textElement verticalAlignment="Middle"&gt;
                                  &lt;font fontName="Arial"/&gt;
                              &lt;/textElement&gt;
                              &lt;textFieldExpression&gt;&lt;![CDATA[$V{ScoreMeasure}
  ]]&gt;&lt;/textFieldExpression&gt;
                          &lt;/textField&gt;
                      &lt;/cellContents&gt;
  </code></pre>
  
  <p>And here it is appended with the text which is breaking the format:</p>
  
  <pre><code>&lt;crosstabCell width="73" height="25" rowTotalGroup="Name"&gt;
                      &lt;cellContents backcolor="#005FB3" mode="Opaque"&gt;
                          &lt;box&gt;
                              &lt;pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/&gt;
                          &lt;/box&gt;
                          &lt;textField pattern="#,##0.00"&gt;
                              &lt;reportElement style="Crosstab Data Text" x="0" y="0" width="73" height="25" forecolor="#FFFFFF" uuid="50401fd4-b9b1-4bf2-bd74-9a0f083e77ff"/&gt;
                              &lt;textElement verticalAlignment="Middle"&gt;
                                  &lt;font fontName="Arial"/&gt;
                              &lt;/textElement&gt;
                              &lt;textFieldExpression&gt;&lt;![CDATA[$V{ScoreMeasure}+"%"
  ]]&gt;&lt;/textFieldExpression&gt;
                          &lt;/textField&gt;
                      &lt;/cellContents&gt;
  </code></pre>
  
  <p>Anyone come across this? Any suggestions on how to fix?</p>