public class ScoreCalculator
extends java.lang.Object
| Constructor and Description |
|---|
ScoreCalculator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTotalScore(java.util.List<java.lang.String> scoreList)
Calculates the overall score.
|
static double |
round(double value,
int places)
Method that rounds up the value of the score up to [@param places] behind
the comma.
|
public java.lang.String getTotalScore(java.util.List<java.lang.String> scoreList)
scoreList - public static double round(double value,
int places)
value - places -