-
Notifications
You must be signed in to change notification settings - Fork 140
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
Incorrect parsing of floats in corner cases #714
Comments
Here are examples of other numbers with the same issue. Original CSV File: MiddlePrincipalStresses |
I have not checked in detail, but it seems that it gets wrong if the number is negative and has a trailing |
I think I have a fix for this; writing tests now |
Yes, I believe those are the only cases affected |
Because we're using a UInt64, our final number was getting messed up because we were applying the `-` to the UInt64 before converting to our float number. Fixed JuliaData/CSV.jl#714
Fix up: JuliaData/Parsers.jl#61 |
Because we're using a UInt64, our final number was getting messed up because we were applying the `-` to the UInt64 before converting to our float number. Fixed JuliaData/CSV.jl#714
My numerical data are now being read as Strings. |
I see that as well; investigating. |
Sorry about the hassle; the previous fix ended up only working for negative + trailing decimal; I have JuliaData/Parsers.jl#64 which also fixes the non-negative case. |
Here is an example:
The text was updated successfully, but these errors were encountered: