title: fmt:formatNumber rounding inconsistency
body: <p>I don't know if it's just me, but </p>
  
  <pre><code>&lt;fmt:formatNumber var="roundedNumber" value="2.5" type="number" pattern="#" /&gt;
  </code></pre>
  
  <p>gives me </p>
  
  <pre><code>&lt;%-- ${roundedNumber} == 2 --%&gt;
  </code></pre>
  
  <p>Do you know why formatNumber doesn't round this to 3?</p>
  
  <p><em>UPDATE</em></p>
  
  <p>It seems that if the number is ODD is rounded correctly, but if it's even number it's not.</p>
  
  <pre><code>2.5 will be rounded 2
  2.51 will be rounded 3
  3.5 will be rounded 4
  3.51 will be rounded 4
  4.5 will be rounded 4
  4.51 will be rounded 5
  ... etc
  </code></pre>