Jump to content
Changes to the Jaspersoft community edition download ×

Help with parameter type double


2004 IR Help

Recommended Posts

By: Marco - marco_a10

Help with parameter type double

2004-12-29 06:22

Hello,

I have been working on iReport 0.4.0 on Linux and have a problem when I want to send a parameter type double(e.g. num_factur). I can send a String type easily, but it will not read the fields in the report query when I enter : num_factur=$P{NUM_FACTUR}. I really need help on this. Thanks.

 

 

 

 

By: Rich Wolverton - statee

RE: Help with parameter type double

2004-12-30 06:52

Try putting

 

new java.lang.Double("1D")

 

in the initial value field of the parameter in the subreport.

 

Cheers.

 

 

 

 

By: Marco - marco_a10

RE: Help with parameter type double

2004-12-31 07:40

Thanks a lot!

It worked perfectly!

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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