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

string with float-likes fail #23

Closed
alexhallam opened this issue Jul 30, 2021 · 0 comments · Fixed by #24
Closed

string with float-likes fail #23

alexhallam opened this issue Jul 30, 2021 · 0 comments · Fixed by #24

Comments

@alexhallam
Copy link
Owner

alexhallam commented Jul 30, 2021

I had a column entry with the following entry in my csv and the program failed.
2/ 2.5 Gallon

The error was

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ParseFloatError { kind: Invalid }', /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tidy-viewer-0.0.5/src/datatype.rs:160:50
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

FWIW

96/3 Oz does not fail. So it must be the decimal in the string

alexhallam added a commit that referenced this issue Aug 1, 2021
@alexhallam alexhallam mentioned this issue Aug 1, 2021
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

Successfully merging a pull request may close this issue.

1 participant