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

numfmt: preserve trailing zeros #3764

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

cakebaker
Copy link
Contributor

GNU numfmt preserves trailing zeros if no precision is specified. For example, numfmt 10.00 returns 10.00. uutils numfmt doesn't preserve trailing zeros and returns just 10. This PR fixes this issue.

@sylvestre sylvestre merged commit 9b81e09 into uutils:main Aug 1, 2022
@cakebaker cakebaker deleted the numfmt_preserve_trailing_zeros branch August 1, 2022 11:35
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.

None yet

2 participants