PDA

View Full Version : How to customize ThousandSeparator to display price in INR format


dhanasekaran
07-28-2009, 08:32 AM
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