|
|
|
@ -361,11 +361,11 @@ public class StudentManager { |
|
|
|
|
|
|
|
|
|
StringBuilder stringBuilder = new StringBuilder().append(subject).append(":\n\t"); |
|
|
|
|
stringBuilder |
|
|
|
|
.append(String.format("Level A: %d/%.2f", scoreLevelInfo[SCORE_LEVEL_A], (float) scoreLevelInfo[SCORE_LEVEL_A] / studentAmount)).append(" | ") |
|
|
|
|
.append(String.format("Level B: %d/%.2f", scoreLevelInfo[SCORE_LEVEL_B], (float) scoreLevelInfo[SCORE_LEVEL_B] / studentAmount)).append(" | ") |
|
|
|
|
.append(String.format("Level C: %d/%.2f", scoreLevelInfo[SCORE_LEVEL_C], (float) scoreLevelInfo[SCORE_LEVEL_C] / studentAmount)).append(" | ") |
|
|
|
|
.append(String.format("Level D: %d/%.2f", scoreLevelInfo[SCORE_LEVEL_D], (float) scoreLevelInfo[SCORE_LEVEL_D] / studentAmount)).append(" | ") |
|
|
|
|
.append(String.format("Level E: %d/%.2f", scoreLevelInfo[SCORE_LEVEL_E], (float) scoreLevelInfo[SCORE_LEVEL_E] / studentAmount)); |
|
|
|
|
.append(String.format("Level A: %d/%.2f%% | ", scoreLevelInfo[SCORE_LEVEL_A], (float) scoreLevelInfo[SCORE_LEVEL_A]*100 / studentAmount)) |
|
|
|
|
.append(String.format("Level B: %d/%.2f%% | ", scoreLevelInfo[SCORE_LEVEL_B], (float) scoreLevelInfo[SCORE_LEVEL_B]*100 / studentAmount)) |
|
|
|
|
.append(String.format("Level C: %d/%.2f%% | ", scoreLevelInfo[SCORE_LEVEL_C], (float) scoreLevelInfo[SCORE_LEVEL_C]*100 / studentAmount)) |
|
|
|
|
.append(String.format("Level D: %d/%.2f%% | ", scoreLevelInfo[SCORE_LEVEL_D], (float) scoreLevelInfo[SCORE_LEVEL_D]*100 / studentAmount)) |
|
|
|
|
.append(String.format("Level E: %d/%.2f%%", scoreLevelInfo[SCORE_LEVEL_E], (float) scoreLevelInfo[SCORE_LEVEL_E]*100 / studentAmount)); |
|
|
|
|
|
|
|
|
|
records.add(stringBuilder.toString()); |
|
|
|
|
} |
|
|
|
|