a-camacho / moodle-gr-scgr

Social comparison gradebook report for Moodle
1 stars 0 forks source link

Division by/with zero when $grade equals 0 #11

Closed a-camacho closed 6 years ago

a-camacho commented 6 years ago

If grade equal zeros, sometimes when system tries do divide 0 by 100 to get percentage grades, it breaks.