How to read numeric values from excel in java?
问题 I have a code to read a xls file in java. But the problem is that when I am read the numeric value that time it gives me wrong format value. My code is String fname = "D:/Vijay/BRS_docs/10168/19.11.2014/19.11.2014/Bank/Debit Open Item File/INF 21 Case.xls"; FileInputStream fis = new FileInputStream(fname); HSSFWorkbook wb = new HSSFWorkbook(fis); HSSFSheet sheet = (HSSFSheet) wb.getSheetAt(0); FormulaEvaluator formulaEval = wb.getCreationHelper().createFormulaEvaluator(); fis = new