I use jxl library to import data from excel. I have a cell with values : 8.628282828. When i debug as below image :
I see it is type : NumberRecord and values is right : 8.628282828. But when i get content of cell :
InputStream is = new ByteArrayInputStream(data);
WorkbookSettings wbSettings = new WorkbookSettings();
wbSettings.setEncoding("CP1252");
Workbook w;
w = Workbook.getWorkbook(is, wbSettings);
Sheet sheet = w.getSheet(0);
for (int i = 1; i < sheet.getRows(); i++) {
sheet.getCell(5,i).getContents();
}
It's 8.628 How can i get exactly value of that cell ?