title: How to set precision for EL division on JSF
body: <p>How can I set  precision for such EL result?</p>
  
  <pre><code>&lt;h:outputText value="#{businessPlanPreviewBean.plan.a1 != 0 ?
   businessPlanPreviewBean.plan.a2/businessPlanPreviewBean.plan.a3 : 0 } " &gt;
  &lt;/h:outputText&gt;
  </code></pre>
  
  <p>I tried 
  <code>&lt;f:convertNumber maxFractionDigits="2" /&gt;</code>
  but no luck...</p>
  
  <p><code>&lt;f:convertNumber pattern="#,##" /&gt;</code> - the same thing</p>
  
  <p>Mojarra JSF implementation version 1.2_14-b01-FCS</p>