ktrinad Posted August 31, 2006 Share Posted August 31, 2006 By: T.Gopalakrishnan - gopal03 Formula field in iReport 2003-09-01 04:18 Hello friends I am new to iReport tool. I want to create a formula field(Expression) to multiply two database fields and i need to show the result if it is greater than zero. Can any one give an sample code for this Thanks By: Giulio Toffoli - gt78 RE: Formula field in iReport 2003-09-15 05:10 hi, use this expression. (($F{my_number1}.doubleValue() * $F{my_number2}.doubleValue() > 0) ? new Double($F{my_number1}.doubleValue() * $F{my_number2}.doubleValue()) : null) Giulio Link to comment Share on other sites More sharing options...
hengsokchea87 Posted February 19, 2014 Share Posted February 19, 2014 i want to calculate in ireport ? what can i do? please help me! <<<<<< This comment was blocked and unpublished because Project Honeypot indicates it came from a suspicious IP address. 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