Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
medari1048 opened this issue Dec 16, 2021 · 0 comments
Open

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

medari1048 opened this issue Dec 16, 2021 · 0 comments

Comments

@medari1048
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant