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 discount_previdence_calculator.rb #12

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

Pauloparakleto
Copy link
Owner

Round two decimals truncated partial results.
When salary is 7786.02 (the fourth limit), the previous result was 908.849999 before truncate it to 908.84. What is incorrect. The correct result is 908.85, the result of the partial sum between salary levels classes.
close #10

Round two decimals truncated partial results.
When salary is 7786.02 (the fourth limit), the previous result was
908.849999 before truncate it to 908.84. What is incorrect. The correct
result is 908.85, the result of the partial sum between salary levels
classes.
@Pauloparakleto Pauloparakleto merged commit 690a994 into patch_0_3_1 Jul 9, 2024
1 check passed
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.

1 participant