Gap fill expected answer rounding

10 views
Skip to first unread message

samuel...@gmail.com

unread,
Mar 28, 2022, 5:58:28 PM3/28/22
to Numbas Users
Hi, almost there with this question, part B now works well, part A is not quite there. Numbas is calculating the correct answer (shown in right column) but a rounded answer (10dp) is shown by the expected answer.

Any idea why and/or how to avoid? Would Numbas mark as correct if the full value was submitted?

eg1.GIF
eg2.GIF

Thanks
Sam

samuel...@gmail.com

unread,
Mar 28, 2022, 6:07:45 PM3/28/22
to Numbas Users
Apologies for spamming without due care, I realised as I can see the correct answer I just needed to retry questions until there was one with more than 10dp. The question is marked correctly if the full value is entered. The answer is marked as incorrect if a student enters a value rounded to 10 dp, although the expected answer will show the same as their response.

Christian Lawson-Perfect

unread,
May 4, 2022, 7:40:27 AM5/4/22
to numbas...@googlegroups.com
Hi Sam,
Can you give me a link to this question, please? I've just tried making a number entry part with a decimal answer precise to 15 decimal places, and it showed it in full.

--
You received this message because you are subscribed to the Google Groups "Numbas Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numbas-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/numbas-users/e1f8ee20-2dec-4ce7-b0a1-59e290f290b7n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages