Jump to content
Changes to the Jaspersoft community edition download ×

Number Format on GERMAN


Recommended Posts

By: TesTech - testech

Number Format on GERMAN

2005-07-03 23:43

Hai !!

 

Im using iReport 0.3.0 .Im facing the issue with number format.I need to display numbers in german format ,with exaclty two digits after decimal point .

In the textfield expression , i gave like this :

 

NumberFormat.getNumberInstance(Locale.GERMAN).format(<a double value>)

and in the pattern I selected (#,##0.00)

 

After executing the report ,German format is displaying but not rounding into two digits after decimal point.That is ,the pattern is not applying.

 

For example :

 

A double value : 1000.3462

For the above expression and pattern ,Im getting 1.000,346

But I need 1.000,35

 

 

Please help me !!

 

Thanks in advance !!!

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...