Skip to content

Commit

Permalink
Merge pull request #1 from ramin-c/updateBranch
Browse files Browse the repository at this point in the history
Integer changed to float
  • Loading branch information
edlich authored Dec 11, 2023
2 parents d11b749 + 9738fcc commit 0362abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SWT/Testing/Krk.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ public KrK(CalcSteuer thisCs) { // Konstruktor für Dependency Injection
public int calcBeitag(int brutto) {
int netto = cs.calcNetto(brutto); // Aaaaaah! Problem!!!
System.out.println("BÖSE XXXXXXXXX - 1Mio $");
return netto / 5; // Darum geht es!
return netto / 5.0; // Darum geht es!
}
}

0 comments on commit 0362abc

Please sign in to comment.