I need an algorithm for rounding whole numbers in a quiz. Is that possible to do? For example, the number is 405 and I want the student to round to the nearest hundred.
Actually, there is a helper function in formula which is "round", which should give you what you want. To round to the nearest 100, divide by 100, round and then multiply by 100: 100*round(x/100). Please test to see if it works as you expect, as I haven't used them before (especially for negative numbers, if you're using those).
For a list of helper functions, check Canvas Formula Quiz Question Helper Functions - Instructure Community - 387062.
Used in a formula question, that allows you to give them a number, say 405, and ask them to round them:405/100=4.05round(4.05)=4100*4=400
Classic Quizzes formula questions: How do I create a Formula quiz question with a sin... - Instructure Community - 920 New Quizzes formula question: How do I create a Formula question in New Quizzes? - Instructure Community - 956
If you're using a formula, you can set a precision range with \(\pm\) a given value, but not to round up or down to a value. If it's a numeric response, you can set a range of values. This would likely require a new feature that could be requested. Otherwise, if you want to have different values as in a formula but with very different answers to round to 100, using a question bank (with the numeric question type) and various values might be the solution.
Hey, you could use the floor function in formula question in a new quiz. Assuming that x is your variable name, to round to the nearest 100, you could use: floor("x"/100)*100.
Hope that helps!
I have a quiz set for 2 hours and its availability window set for 2.5 hours. During the exam I receive the warning message as follows: Please note that the adjusted time limit you've set extends beyond the "Until Time" of [Apr 16, 2026, 11:30 AM] for this quiz. The quiz will automatically submit at the "Until Time" you've…
Hi, we have noticed some changes in the way Canva docs or files are able to be embedded live. Canva is integrated via LTI 1.3 in our Canvas Has Canvas recently changed how it handles unauthenticated external iframe embeds, specifically for tools like Canva? Are public Canva embed iframes (canva.com/design/.../view?embed)…
Summary:The Learning Mastery Gradebook allows drag-and-drop reordering of outcome columns, and this triggers a call to /api/v1/courses/:course_id/assign_outcome_order. The API returns 204 No Content (success), but the column order does not persist after page refresh. Steps to Reproduce: Open Learning Mastery Gradebook for…
Hi all, Quick question about the Gradebook color status for a 2-part checkpoint discussion. If a student completes the first due date (initial post) but does not complete the required replies by the second due date, is there any way for Canvas to automatically show a color (e.g., missing/late) instead of staying as…
Canvas Portfolios provide a powerful platform for students to document their learning journey, reflect on their progress, and showcase competencies. However, in programs where multiple educators are involved in assessment—such as team teaching, moderation, or competency-based evaluation—there are important questions about…