On Wed, Sep 22, 2010 at 6:48 PM, Douglas Cerna <[email protected]> wrote:
> I just noticed that the gradebook returns the average of a worksheet as 
> integer.
>
> According to the README.txt functional doctest in the gradebook package:
>
> ----- %< -----
> We can get a student average for the worksheet, an integer percentage that
> can later be used to formulate a letter grade.
> ----- %< -----
>
> However the int(round(...)) approach used in the getWorksheetTotalAverage 
> method of the gradebook loses a little precision. Is this ok?

Actually, I guess it is not, since it will return "surprising" values.

--Tom

_______________________________________________
Mailing list: https://launchpad.net/~schooltool-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~schooltool-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to