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

Bugfix in avg-decimals #479

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Conversation

awensaunders
Copy link
Contributor

I had intended that specifying decimalPlaces: 0 would have been a way of explicitly choosing between the new rounding behaviour and the old floor behaviour. Unfortunately I was checking if decimalPlaces was truthy, and zero is not truthy...

I had intended this to be a way of specifying the
rounding behaviour but unfortunately I was
checking if decimalPlaces was truthy. This handles
that explicitly.
@pnabutovsky pnabutovsky merged commit 5ad631a into primeroIMS:develop Sep 17, 2024
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