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

Fix division by error #139

Merged
merged 4 commits into from
Feb 2, 2024
Merged

Fix division by error #139

merged 4 commits into from
Feb 2, 2024

Conversation

lehecht
Copy link
Contributor

@lehecht lehecht commented Feb 2, 2024

Fix error by comparing values instead of values and type.

Only compare number values and not types

Fixes #127
@mzur mzur linked an issue Feb 2, 2024 that may be closed by this pull request
The original check ===0 did not work if the value was 0.0.
@mzur mzur merged commit 7d1a72a into master Feb 2, 2024
2 checks passed
@mzur mzur deleted the div-by-zero branch February 2, 2024 08:40
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.

Fix division by zero error
2 participants