Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


No Members Logged In

(3 guests in past 15 min.)

Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

Support Forums

ATutor Modules

Gradebook - calculating the average mark


You must be signed-in to post.

AuthorSubject
  Page: 1
NickSlavsky

Avatar for NickSlavsky
Subject: Gradebook - calculating the average markQuote this post in your reply
my specs are the same as in the thread
www.atutor.ca/view/17/19655/1.html

i am using the customexternal grade scal for russian school. we have numeric 5-grade scale with 5 being the highest and 1 - the lowest mark. we are using the only external marks so no online test yet. I have notices that every student is able to see his own mark and the class average. But, the class average mark is shown still as integer, but i can clearly see that the rounding was done and the decimal fractional part is left behind.

my question is: can anyone point me to the file and code segment where the average evaluation is carried out so that i culd make it right? is it possible?
Posted: 2010-03-02 05:52:48
greg

Avatar for greg
Subject: Re: Gradebook - calculating the average markQuote this post in your reply
I suppose "right" is in the eye of the beholder.

You can modify the test stats templates, in:

themes/default/test_questions/

look for lines like
round($this->num_blanks/$this->num_results*100)

and change them to

round($this->num_blanks/$this->num_results*100,2)

I suggest you create a new theme, and copy the files you want to edit to it, or you'll end up loosing your changes when it comes time to upgrade.
Posted: 2010-03-04 10:21:24
 Page: 1

You must be signed-in to post.