The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
Is there an update coming from Canvas New Quizzes that will allow the formula questions to ONLY generate integers?
Solved! Go to Solution.
Hello @jmillner1
If you are still looking for help with this It would be best to look over the guide here for what values are allowed https://community.canvaslms.com/t5/Instructor-Guide/How-do-I-create-a-Formula-question-in-New-Quizze...
Regards,
Ian
Hi @jmillner1,
Looking at the discussion, it doesn't seem like this is currently an option. If this is something you'd like to see Canvas potentially add as functionality in the future, you should submit it to the new Ideas area for consideration :).
-Chris
Without seeing exactly what you want done, I cannot 100% answer your question.
However for a formula question of `x` + `y` = ?
for the values of x and y, I select the min and max values and then for decimal places I select 0 - which will then cause Canvas to use only numbers with 0 decimal places (i.e. integers)
Here is a large picture showing all of the above in new quizzes :
I am speaking more to the answers being generated being restricted to integers only. I understand that this would limit the number of options available to generate.
An example would be x/2 + 3 = 7. I have teachers only wanting x values in integer form, no decimals. I can set the decimal to 0 but that just creates a rounding issue.
Okay. With your example, I am at a loss as to how that would be put in Canvas. X/2 + 3 = 7. Are you saying that they want to put in `X`/2 + 3 = ? then have canvas generate X that is even so that the result is an integer not an integer or a .5 addition to an integer?
Ron
I would actually generate values for all excluding x. That way students can solve for x. The problem is, you cannot generate values for the variables that make x and integer only. That is what my campus is wanting as an option.
I think what the OP is trying to say is that they want the final answer to only be an integer, for example if I wanted the formula to be `x`/2, I would only want the answer choices to be whole numbers. For instance it would be nice if we had the option to "choose only values of x that were multiples of 2" so that we could exclude decimal answers, or even if we had the option to generate a list and self exclude any that did not produce an integer answer.
Hello @jmillner1
If you are still looking for help with this It would be best to look over the guide here for what values are allowed https://community.canvaslms.com/t5/Instructor-Guide/How-do-I-create-a-Formula-question-in-New-Quizze...
Regards,
Ian
Yes, I am aware of this. I was just wondering if there would be a possibility in the future to be more specific in the answers. If I choose 0 decimal places it will give me an integer. However, that integer is rounded when the actual value would give a decimal/fractional value. I was just curious if I could set it up to only generate answers that come out to an integer without rounding. Thank you for the help though.
Hi @jmillner1,
Looking at the discussion, it doesn't seem like this is currently an option. If this is something you'd like to see Canvas potentially add as functionality in the future, you should submit it to the new Ideas area for consideration :).
-Chris
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in