Re: [web2py] Getting wrong Results with my grading system

2017-11-18 Thread mostwanted
I want grade 'A' to fall within a range of percentages, 'A' ranges from 80%(being the lowest) to 100%(being the highest), how do i reflect that here to get the system to grade properly?? On Saturday, November 18, 2017 at 11:00:45 AM UTC+2, Kiran Subbaraman wrote: > > so if `perc >=90%, it is gr

Re: [web2py] Getting wrong Results with my grading system

2017-11-18 Thread Kiran Subbaraman
so if `perc >=90%, it is grade `A`? The code should reflect the same then. Right now, it is `A`, if `perc >= 100`, which is not a valid value for `perc`. Am guessing the same is applicable for the `average` check too. Kiran Subbaraman http://subbaraman.w