vk01 Posted February 5, 2008 Share Posted February 5, 2008 Hi, I have a double field which gets this value - 0.0 It is requested that it show up as blank instead of 0.0 - how to format this? I have tried - defined a variable as string and set--($F{DISTANCE}.intValue() == 0) ? " " : $F{DISTANCE}.toString())--The pattern is not working on this variable, maybe being a string. Want to report on a single decimal point. Thanks! 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