srikanthssridhar Posted February 12, 2013 Share Posted February 12, 2013 Hi,I want to convert the number pattern to Indian number pattern that is if the value is 100,000 it should display as 1,00,000.I tried changing the pattern which did not work. I wrote my own method which does the conversion. I need to integrate this in jasper source code.After going through the source code, I tried including my method in JRAbstractExporter.java Here we have a method protected TextValue getTextValue(JRPrintText text, String textStr)which calls getNumberCellValue() method. I am calling my Format method inside getNumberCellValue method like thisindianCurrencyFormat = this.inidianCurrencyFormat(textStr); textValue = getTextValueString(text, indianCurrencyFormat); After all these, still nothing seems to work. Could some one please helpThanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now