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

float.sh must print exactly three digits after the dot #233

Closed
yegor256 opened this issue Mar 21, 2024 · 2 comments
Closed

float.sh must print exactly three digits after the dot #233

yegor256 opened this issue Mar 21, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@yegor256
Copy link
Owner

This should work:

test "$(echo '254' | "${LOCAL}/help/float.sh")" = '254.000'
test "$(echo '0.3' | "${LOCAL}/help/float.sh")" = '0.300'
test "$(echo '0.00023' | "${LOCAL}/help/float.sh")" = '0.000'
@yegor256 yegor256 added enhancement New feature or request help wanted Extra attention is needed labels Mar 21, 2024
@LaithAlebrahim
Copy link
Contributor

LaithAlebrahim commented Mar 21, 2024

@yegor256 ,I'll work on this

UPD: done , here is the link of the PR's (#241)

@padjal
Copy link
Contributor

padjal commented Apr 22, 2024

@yegor256 Since #268 is merged, this issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants