示例#1
0
 public decimal GetTotal(IDictionary <Problem, Grade.Comment> problems)
 {
     return(Grade.CalculatePoints(problems));
 }
示例#2
0
 public string GetPointsString()
 {
     return(Problem.IsMultiplier()
         ? String.Format("{0:0.##} of {1:0.##%}", Points, Problem.TotalMultiplier)
         : Grade.GetPointsString(Points, Problem.TotalPoints));
 }