larsenfed Posted October 31, 2006 Share Posted October 31, 2006 Hi everybody, i am doing a report with a couple o groups and i am having some problems, It seems that jasper is no adding ok ... which it sounds wrong for me, but i can not find a solution. Check this out. I have a goup with this data: 95185.7065793.0077000.0074255.5069440.00 total 381674.19 instead of 381674.20 data are TextField linked to Fields of Database en Postgresql 8, and are automatically mapped to java.lang.Float the total is a sum variable. Beste regards, and thanks in advance for your help size=340]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/Screenshot_Add_modify_variable2.pngPost edited by: larsenfed, at: 2006/10/31 15:21 Link to comment Share on other sites More sharing options...
Teodor Danciu Posted November 1, 2006 Share Posted November 1, 2006 Hi, If you want to have precise calculations, you should have all the numeric values in java.math.BigDecimal. I hope this helps.Teodor 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