Return to lonstudentassessment.pm CVS log | Up to [LON-CAPA] / loncom / interface / statistics |
version 1.69, 2003/10/02 17:07:41 | version 1.70, 2003/10/07 14:38:30 |
---|---|
Line 1522 sub StudentPerformanceOnSequence { | Line 1522 sub StudentPerformanceOnSequence { |
$partscore = $weight*$awarded; | $partscore = $weight*$awarded; |
$score += $partscore; | $score += $partscore; |
$symbol = $partscore; | $symbol = $partscore; |
if (abs($symbol - sprintf("%.0f",$symbol)) < 0.001) { | |
$symbol = sprintf("%.0f",$symbol); | |
} | |
if (length($symbol) > 1) { | if (length($symbol) > 1) { |
$symbol = '*'; | $symbol = '*'; |
} | } |