title: <f:convertNumber number pattern for displaying "10000000" as "1,00,00,000" - JSF2.0
body: <p>I have a h:outputText field, which is used to display amounts in a specific pattern.</p>
  
  <p>Eg. 10000000 needs to be formatted as 1,00,00,000
  I used <code>&lt;f:convertNumber /&gt;</code> tag for achieving this. I tried by adding hi_IN &amp; en_IN in locale attribute, but the result is getting formatted as 10,000,000. Then tried by applying the pattern attribute with the following value(#,##,##0.00) got the same result 10,000,000.00. Kindly suggest?</p>
  
  <p>Sample Code:</p>
  
  <pre><code>&lt;h:outputText value="#{sampleBean.amount}"&gt;
      &lt;f:convertNumber pattern="#,##,##0.00"/&gt;
  &lt;/h:outputText&gt;
  
  &lt;h:outputText value="#{sampleBean.amount}"&gt;
     &lt;f:convertNumber locale="hi_IN" /&gt;
  &lt;/h:outputText&gt;
  
  &lt;h:outputText value="#{sampleBean.amount}"&gt;
     &lt;f:convertNumber locale="en_IN" /&gt;
  &lt;/h:outputText&gt;
  </code></pre>