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 display of numbers in the (-1, 0) interval #3

Merged
merged 1 commit into from
Mar 21, 2023
Merged

Fix display of numbers in the (-1, 0) interval #3

merged 1 commit into from
Mar 21, 2023

Conversation

matteocarnelos
Copy link
Contributor

Currently, numbers in the (-1, 0) interval (e.g. -0.314) get wrongly formatted. In particular, the - sign gets omitted.

In this PR I fixed this issue by manually adding the - sign in front of the number when needed. I also added more tests to cover this scenario.

Let me know if there's anything else I can do!

@tl8roy tl8roy merged commit d99c9b1 into tl8roy:master Mar 21, 2023
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.

2 participants