This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

two variable addition

 
vitesse wei
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two report wide variables in my jasper report,both of them are summary values to some columns,they are display in summary band,can I add one more variable to do some math operation,like v3=v1*100/v2.
if yes,how?
 
vitesse wei
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just figure it out.
new java.lang.Float(($V{v1}.floatValue())*100/$V{v2}.floatValue())


cheers
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic