abinabraham Posted October 28, 2009 Share Posted October 28, 2009 Japser is displaying 'NaN' when i have a divide by zero error.How can we display zero in place of NaN?Your help is higly appreciated.thanks in advancejoe Link to comment Share on other sites More sharing options...
suedonne123 Posted October 28, 2009 Share Posted October 28, 2009 Edit expression and use java syntax...( $F{bottomNumber} == 0 ? 0 : $F{topNumber} / ${bottomNumber} )or some such... 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