2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: Robert - robikf problem with the absolute value abs() 2006-04-20 12:48 Does anybody know how to get an absolute value of the double in the jasperreport 1.2. It looks like there is the bug. I tried to create a variable of the Double with the formula new Double(abs(1.00)).The error message that I am getting is: The method abs(double) is undifined for the type ... any ideas? By: Sanjeev Saha - sanjeevsaha RE: problem with the absolute value abs() 2006-04-20 12:57 Have you tried: new Double(new BigDecimal(1.00d).abs().doubleValue()) 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