2002 JI Open Discussion Posted August 31, 2006 Posted August 31, 2006 By: TesTech - testech Number Format on GERMAN 2005-07-03 23:43Hai !! 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 !!!
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