2 Replies Latest reply on Jul 29, 2009 2:00 AM by ksekar

    How to customize ThousandSeparator to display price in INR format

    ksekar

      All,

       

      I need to format the below amount in indian rupee(INR) format.

       

      Amount: 10000000.00

       

      When i use the default ThousandSeparator it return the amount as follows:

      <mx:NumberFormatter id="numberFormatter" precision="2" useThousandsSeparator="true"
              thousandsSeparatorFrom="," thousandsSeparatorTo=","/>

       

      numberFormatter.format(Amount) -------> 1,000,000,000.00 --------> it's in US dollar format

       

      i want it as,

       

      numberFormatter.format(Amount) -------> 1,00,00,00,000.00 --------> it's in INR rupee format

       

      Please some one tell me how to do this,

       

      by,

      Dhanasekaran