Thank you Tim! I ended up defining 'gradepercent' in that locallib.php file.
$a->gradepercent = number_format((100*($attempt->sumgrades/ $quiz->sumgrades)),0).' %'; in the 'Attempt information' area. Than I was able to use 'gradepercent' in the quiz notification email.
It works. Thanks for your help! Cindy
$a->gradepercent = number_format((100*($attempt->sumgrades/ $quiz->sumgrades)),0).' %'; in the 'Attempt information' area. Than I was able to use 'gradepercent' in the quiz notification email.
It works. Thanks for your help! Cindy