rapthor Posted November 7, 2009 Share Posted November 7, 2009 Hello,I got a null when I try to divide a Long variable by a number, round it and assign it to another Long variable: New Long(Math.round(new Double($V{DATE_IN_MILLISECONDS}.longValue() / (60*60*1000*24))))The result variable is also of type Long but when I compile and preview my report, I only see null. The referenced variable $V{DATE_IN_MILLISECONDS} is valid, as I see its value at preview.Why is the expression null ?Thanks in advance!Post Edited by rapthor at 11/07/2009 15:12 Link to comment Share on other sites More sharing options...
rapthor Posted November 10, 2009 Author Share Posted November 10, 2009 I have it fixed. I do not know what the reason was, but I just removed and placed a new variable again. Seems as if some data was corrupt inside the report. 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