Jump to content
Changes to the Jaspersoft community edition download ×

Recommended Posts

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 this

indianCurrencyFormat = this.inidianCurrencyFormat(textStr);
textValue = getTextValueString(text, indianCurrencyFormat);

After all these, still nothing seems to work. Could some one please help

Thanks

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...