Rounding Class Average Percentage to Nearest Percent

Hi! I created answer keys for each of my practice sets. Is there a way in CL to round the class average percentage to the nearest percent?

numericValue(`\operatorname{round}\left(${variableYouWantRoundedGoesHere}\right)`)

How would I add this to my existing CL within the table component? I have currently:

image

This should work:

cellContent(1,6): "${numericValue(`\operatorname{round}(${sum.number(`x_1`)})`)} \ %"

Are you pulling the numbers from a graph component? You could do the rounding there as well.

image

Am I doing something wrong?

Here is the graph compenent:

image

I see a missing left brace after the dollar sign and before the word sum. I’m not sure if that will fix the problem, but hopefully it will.

1 Like