Hi @Andrew.J.896 Have you considered using the answer precision option to set it so that the answer should have no decimal places? I think that would get what you are looking for? https://community.d2l.com/brightspace/kb/articles/3410-creating-question-library-questions#create-arithmetic-questions
Thanks @Monica.G.541 However I think that would still make the answer round up if the calculation happened to end in a 5 or larger. What did work is using the modulo operator function. The % sign is the modulo operator. Here is a good resource on it. https://www.reddit.com/r/learnpython/comments/181ngbk/modulo_operator/ .
If you had 106" of material and you needed to make workpieces that finish at 5.304" long and for each workpiece cut off the 106" long bar you wasted .0625" (sawing as well as what we call "facing" on both sides of the workpiece so your part has square ends) you could make 19.752 parts. In the real world you could only make 19 parts. So the mod function goes around the clock 19 times and then stops because the interval of one (think of a clock but it only has one hour on it instead of 12 hours) can no longer go a full turn around the clock. So .752 ends up being subtracted from 19.752 to get the final answer of 19. Here is my formulae (and I tested it about 10 times so I think it is good):
({L}/({v1}+.0625))-(({L}/({v1}+.0625))%1)
It is mentioned in the reddit post that MOD is not really a remainder. I think .752 is like an answer, and I subtract that answer from 19.752. One example is if you were facing north and you turned to the right 90 degrees (%90 or MOD90) you would be facing east. So the Mod of 90 gets you East, which is more the answer than a remainder.
Getting back to my formulae, L is the variable for how long a length of material is (106" in this case), and v1 is how long workpieces will be that will be manufactured out of that material (5.304" in this case). .0625" is how much material is wasted by the width of the saw blade and facing each end on the lathe. In Excel you could just use ROUNDDOWN. However in brightspace it seems you need to do this. Keep in mind the number after the % symbol is 1 because in this case I want the clock to be a one hour clock and go all the way around until 1 cannot go around anymore. So we go from 19.752 to 18.752 to 17.752 to 16.752 to 15.752 to 14.752 to 13.752 to 12.752 to 11.752 to 10.752 to 9.752 to 8.752 to 7.752 to 6.752 to 5.752 to 4.752 to 3.752 to 2.752 to 1.752 to .752 and now the clock cannot go around. So 19.752 mod 1 is( or equals) .752
10 + 3 mod 12=1 and 19.752 - (19.752 mod 1) =.752
If anybody thinks any of this is not right please comment!
Thanks for responding Monica.
Connect with our Known and Fixed Issue information to learn about improvements made to Brightspace.
Connect with leaders in pedagogy, accessibility, learning experience design and more
The Accessibility category serves as a single point of access to three avenues in Brightspace Community leading to the Accessibility Academy, Accessibility Library and Accessibility Discussions. These avenues offer courses and articles about accessibility to enhance accessibility knowledge and a group of accessibility enthusiasts to stay connected with.
Have questions about how to use Community? Stay tuned with updates, feedback opportunities and more for the Community here!
Connect with and ask questions on how to best use the Brightspace Product to transform the way your users learn!
Connect with product experts to learn more about tools frequently used by Brightspace Developers such as APIs and integrations!
Want to learn more about Brightspace Partners and Integrations? This is the place to be!
Stay up to date with product updates and announcements in this category.
Connect with our release information to learn about monthly improvements and updates to Brightspace.
Learn more about all the upskilling opportunities with courses and resources offered via the Brightspace Learning Center, Brightspace Guided Training and other training opportunities!