iryndin / jdbf

Java utility to read/write DBF files
108 stars 77 forks source link

i am getting 'E' values instead of double numbers #51

Open medari1048 opened 2 years ago

medari1048 commented 2 years ago

I'm parsing a file and I get this error when I call reader.nextRecord()

while ((rowObjects = reader.nextRecord()) != null) { for (int i = 0; i < rowObjects.length; i++) { Double dataNumber = (Double.parseDouble((String.valueOf(rowObjects[0]).trim()))); System.out.println(new BigDecimal(dataNumber).toPlainString()); } }

i am getting e values and that to wrong values i am getting

DBF Files : https://github.com/chinna1048/dbf_files