[Bug #843] Fix bug
Division had the arguments in reverse order. FEA: ItEr70S04BugFixing
This commit is contained in:
parent
e56f022cd9
commit
cf45f98358
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ abstract class LoadPeriodGenerator {
|
|||
+ " but effortAssigned is zero");
|
||||
return Integer.MAX_VALUE;
|
||||
}
|
||||
Fraction fraction = totalEffort.divivedBy(effortAssigned);
|
||||
Fraction fraction = effortAssigned.divivedBy(totalEffort);
|
||||
Fraction percentage = fraction.multiplyBy(Fraction.getFraction(100, 1));
|
||||
return percentage.intValue();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue