pablodc Posted November 24, 2008 Share Posted November 24, 2008 Hi, I'm using a XML datasource in my report with this content:=== starts here ===<?xml version="1.0"?><prices> <book> <title>Data on the Web</title> <source>www.bn.com</source> <price>39.12</price> </book> <book> <title>Data on the Web</title> <source>www.bn.com</source> <price>-39.43</price> </book></prices>=== ends here === And defined the field type for the tag "price" as java.lang.Float. But I have a problem: the negative number is displayed as "null" instead the value. What can I do?, if I change the field type to java.lang.Double the problem disappear. What I doing wrong?Thanks a lot for your help. 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