Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JXL.jar/ Excel API/ FLOAT problem  RSS feed

jaime de guzman
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The solution is to use Double.parseDouble rather than Float.parseFloat...


I have developed an application, where we can be able to download excel sheet. Excel task uses the jxl.jar library. Everything works fine for me.

The problem is related to float value in excel sheet. The value displayed are exactly correct in excel sheet which matches my database data. But when we click on the cell value, it shows a float value with 11 digits of precision. But i want the exaclty the same value, even when i highlight by clicking on the cell.

I followed the URL:

I tried every possibilities, but of no merit.

[ May 05, 2008: Message edited by: jaime de guzman ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!