8000 Detect floats using `f64::from_str` by Lireer · Pull Request #83 · alexhallam/tv · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Detect floats using f64::from_str #83

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

Merged
merged 2 commits into from
Oct 2, 2021

Conversation

Lireer
Copy link
Contributor
@Lireer Lireer commented Oct 2, 2021

Std provides the from_str method to parse strings into f64. The list of matching patterns seems to be fairly complete.

This should fix #25.

@alexhallam
Copy link
Owner

This does close #25. I will open an issue to remind myself to add a test csv with these kind of strings. Thanks for this PR!

@alexhallam alexhallam closed this Oct 2, 2021
@alexhallam alexhallam reopened this Oct 2, 2021
@alexhallam alexhallam merged commit 9e24a1d into alexhallam:main Oct 2, 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 this pull request may close these issues.

Exponential notation is not captured as a float
2 participants
0