Jump to content
JasperReports Library 7.0 is now available ×

how to do calculation for parameter Scala.math.BigDecmial in Jasper report


kayaul

Recommended Posts

Hi,

I am a newbie in java or jasper report. I have a question that I cannot do simple math calculation for some parameter in class Scala.math.BigDecmial. The database is set these  parameters as Scala.math.BigDecmial class and I am not able to change it.

I search in forum it seems that scala.maths is not support in Jasper report but I can still run the template and show the parameter value in my app if I manual change the class of the parameter as "scala.math.BigDecimal". But now the problem is I want to multiply 2 of these parameters and I am not sure how to do. I tried number of ways like but still not get it done, can anyone suggest me some simple way to do so?

 

Thank a lot.

Link to comment
Share on other sites

  • 1 month later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...