2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: petershen - pshen maybe bug for bigdecimal field 2006-07-07 00:19Hi, I have a problem here, in my report, I have some number data, and I use BigDecimal type. for some data, (not often), in the database, the number is 1.7 while the report shows me 1.6999999. I tried jasperreports0.5.3 and also the lastest one: version 1.2.4, the problem is the same. anyone has the same problem and any solution for that? I defined the field in jasperreports like this: $F{fieldname}==null?new BigDecimal(0):$F{fieldname} and I do not use any pattern. thank you for any help! Peter 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