We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37232fe commit 386dd9bCopy full SHA for 386dd9b
1 file changed
src/main/java/org/shirakawatyu/handixikebackend/api/impl/MatrixScoreApi.java
@@ -79,6 +79,9 @@ private GradePointAverage calculateGPA(ArrayList<Score> scores) {
79
}
80
gpa = gpa / totalCredits;
81
requiredGpa = requiredGpa / requiredCredits;
82
+
83
+ gpa = Math.round(gpa * 100.0) / 100.0;
84
+ requiredGpa = Math.round(requiredGpa * 100.0) / 100.0;
85
return new GradePointAverage(gpa, requiredGpa);
86
87
0 commit comments