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

Lagt til grad for uttak og tilkommet inntekt #422

Merged
merged 3 commits into from
Aug 25, 2023
Merged

Lagt til grad for uttak og tilkommet inntekt #422

merged 3 commits into from
Aug 25, 2023

Conversation

tendestad
Copy link
Contributor

No description provided.

@tendestad tendestad requested review from a team as code owners August 24, 2023 13:37
BigDecimal summerAvkortetGradertMotUttak = summerAvkortetGradertMotUttak(grunnlag);
var grenseverdi = summerAvkortetGradertMotUttak;
BigDecimal sumAvkortet = summerAvkortet(grunnlag);
BigDecimal totalUtbetalingsgradFraUttak = summerAvkortetGradertMotUttak.divide(sumAvkortet, 4, RoundingMode.HALF_UP);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skal vel ikke kunne komme hit med 0 i sumAvkortet, så burde ikke bli problemer ved divisjon

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

men mange tester som kom hit

@tendestad tendestad merged commit c5cb067 into master Aug 25, 2023
6 checks passed
@tendestad tendestad deleted the grader branch August 25, 2023 07:54
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