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

Errors printing floating point numbers with trailing zeroes in the integer part #38

Closed
rleigh-lumiradx opened this issue Aug 26, 2021 · 0 comments · Fixed by #39
Closed

Comments

@rleigh-lumiradx
Copy link
Contributor

Some numbers get incorrectly formatted. Example: -600.nnnn. While -599.nnnn and -601.nnnn format correctly (with width=7).

The common factor to the mis-formatted numbers seems to be the trailing zeroes. I do have a potential fix for this; I'll open a PR shortly with that proposal.

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