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:http://www.andykhan.com/jexcelapi/tutorial.html
I tried every possibilities, but of no merit.
Thanks. Jaime [ May 05, 2008: Message edited by: jaime de guzman ]