Hello,

I am trying to set up a several calculated quiz questions and am getting stuck on how to have moodle only calculate whole numbers in the question. I want the students to convert the ingredients in a recipe from grams to ounces and have set up the question with all of the ingredients as ratios to one ingredient. The base amount is produced by the calculated question and then all the other ingredients are calculated in relation to that. I'm good so far getting the question to work. The problem I'm having is that it is calculating the new numbers with decimal points and I am looking to have only whole numbers. I think I am just missing a button or toggle somewhere but don't know where. Here's the question.

Use the following recipe and covert the ingredients from grams to ounces

Lean dough

bread flour {b}

salt {={b}*0.02}

yeast {={b}*0.01}

water {={b}*0.66}

How many ounces of bread flour?