Jump to content
JasperReports Library 7.0 is now available ×

variable


kacheek

Recommended Posts

hi,

 

i have created a variable as below:

Name: $V{TOTAL_AMT}

Class type: java.math.BigDecimal

Reset type: Report

Increment type: None

Calculation type: Sum

Variable exp: $F{AMT}

 

how can i add 5 to $V{TOTAL_AMT}

eg: $V{TOTAL_AMT} + 5

which gives a result of 'TOTAL_AMT = 18 + 5 = 23'??

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...