jacobefn Posted January 15, 2010 Posted January 15, 2010 Hi,For some report, I use XML datasource.Inside this xml datasrouce, I have some float values where decimal separator is a dot.When I test my report on Ireport, the value printed is correct.Ex : <TotalPieceOutil>280.0</TotalPieceOutil> is printed 280.00When I execute my report with my code java my value is printed in the jasperviewer without take care about the dot !!!So these values are multiplied by ten or hundred, depend how many zero after the dot ;-) !!!Ex : <TotalPieceOutil>280.0</TotalPieceOutil> is printed 2800.00 !!!I check my libray to be sure is the same (jasperreports-3.7.0.jar)I try to force the report_local but no impact !!!This problem has come since I upgrade to jaspert report 3.7.an Idea about that, thanks a lot !!!Etienne
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