Grade calculation functions
  • 21 Jun 2022
  • 1 minute to read

Grade calculation functions


Article Summary

There are a number of grade calculations supported in Totara Learn. Every calculation must start with an equals sign (=), and you can use commas (,) as a separator. 

Certain language packs use different characters for some functions. These are as follows:

  • Separator: English uses a comma (,) some other languages use a semicolon (;)
  • Decimal: English uses a dot (.) some other languages use a comma (,)
Function
Example
Purpose

Average

=average([[item1]], [[item2]]...)

Shows the average of the grades included.

Maximum grade

=max([[item1]], [[item2]]...)

Shows the maximum (highest) grade in the list. 

Minimum grade

=min([[item1]], [[item2]]...)

Shows the minimum (lowest) grade in the list. 

Power

=power(base, power)

Raises a number to the power of another.

Round

=round(number, count)

Rounds a number to a predefined accuracy.

Sum 

=sum([[item1]], [[item2]]...)

Returns the sum total all all items included in the list. 

Multiple

=[[item1]]*[[item2]]

Multiples one item by another using an asterisk (*) to represent a multiplication symbol. 

Divide

=[[item1]]/[[item2]]

Divides one item by another, by using a forward slash (/) to represent divide symbol. 

A number of mathematical functions are also supported:

  • sin
  • sinh
  • arcsin
  • asin
  • arcsinh
  • asinh
  • cos
  • cosh
  • arccos
  • acos
  • arccosh
  • acosh
  • tan
  • tanh
  • arctan
  • atan
  • arctanh
  • atanh
  • sqrt
  • abs
  • ln
  • log
  • exp

C029 - Grading, Completion and Certificates(1)The Totara Academy has a whole course dedicated to using Grading, completion, and certificates in Totara Learn. Here you can learn more on how to use these tools, see best practice, and give it a go yourself.

© Copyright 2024 Totara Learning Solutions. All rights reserved. Some content originally obtained via GPLv3 license and continues to be available under GPLv3. All other content is the sole copyright of Totara Learning Solutions. 


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.