Hi All, I really need to put a float value into a cell.
This is what I have done: HSSFRow row = sheet.createRow( (short) currentNoOfExcelRows); HSSFCell debit = row.createCell( (short) 1); HSSFCell credit = row.createCell( (short) 2); debit.setCellValue(account.getDebit()); // get the debit from database where datatype is float credit.setCellValue(account.getCredit()); // get the credit from database where datatype is float The result is an integer value ! Help is appreciated. Thanks. -- Cumprts, Carlos Bergueira
