Jump to content
We've recently updated our Privacy Statement, available here ×

A weird XLS bug (7E0345 --> 1.7977E+308)


Recommended Posts

By: Tuan Le - lesoft

A weird XLS bug (7E0345 --> 1.7977E+308)

2003-12-15 10:49

In our Excel report we have one String field that displays our company job code, and the Excel report returns all the job code correctly with the exception of any job code starting with 1Exxxx. For example,

 

in database, job code is 7E0345

in Excel output, job code is 1.7977E+308

 

It seems that whenever we have a job cod starting with 1E, JasperReport/Excel converts it into an expontial value.

 

How do we prevent that to happens? The job code is a field of type String.

 

Thanks,

Tuan

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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