3 Replies Latest reply on Aug 19, 2008 8:50 AM by thiagu.m

    how to format the price of a product specified in Indian Rup

      Hai everyone,

      I need to format the price of a product specified in Indian Rupees.
      The format used here in India is
      Rs. 1,00,00,000 = 1 crore = 10 million = 10,000,000 (in the western format)

      But when I try with f:convertNumber with type="currency" it always format like this 10,000,000

      How can I achieve this?

      The code I tried is as follows:

      <h:outputText value="#{bank.ammount}">
      <f:convertNumber type="currency" currencySymbol="rs" currencyCode="INR" />
      </h:outputText>
      

      Can any one help me on this issue?

      by
      Thiagu.m