Wiris

Documentation / LearningLemur

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • LearningLemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Miscellaneous

                      • Wiris Integrations

                        • Home
                        • LearningLemur
                        • LearningLemur Reference
                        • Mathematical reference
                        • Mathematical reference

                        Answer tolerance and decimal handling

                        Reading time: 1min

                        Summary

                        Explain how student answers are evaluated in numerical questions, including how decimal values are handled and how tolerance (error margin) is applied.

                        How answer comparison works

                        When a student submits a numerical answer, Learning Lemur compares it to the expected correct value. The evaluation depends on:

                        • Whether decimal numbers are allowed
                        • The configured error margin

                        Allow decimal numbers

                        This option determines whether answers can include decimal values.

                        • Enabled: Students can submit decimal answers (e.g. 2.5, 3.14)
                        • Disabled: Only integer values are accepted (e.g. 2, 10)

                        If decimal numbers are not allowed, any non-integer answer is considered incorrect.

                        Error margin (tolerance)

                        The error margin defines how close a student's answer must be to the correct value to be accepted.

                        Percent error

                        The student's answer has an n% error margin with respect to the correct answer. An answer will be marked as correct if the student's answer falls within the defined tolerance interval around the correct answer.

                        For instance, if the correct answer is 12.345

                        Percent error Interval of acceptance
                        10 [11.1105,13.5795]
                        1 [12.22155,12.46845]
                        0.1 [12.332655,12.357345]
                        0.01 [12.3437655,12.3462345]

                        Absolute error

                        The student's answer has a margin of error of n. An answer will be marked as correct if the student's answer falls within the defined tolerance interval around the correct answer.

                        For instance, if the correct answer is 12.345

                        Absolute error Interval of acceptance
                        1 [11.345,13.345]
                        0.1 [12.245,12.445]
                        0.01 [12.335,12.355]
                        0.001 [12.344,12.346]

                        If decimal numbers are enabled, tolerance works normally with decimal values.

                        If decimal numbers are disabled, answers must be integers, even if the tolerance would allow decimal values.

                         

                        Notes

                        • Learning Lemur currently supports only absolute and relative tolerance (error margin).
                        • Advanced options, such as significant figures or decimal-place constraints, are not available.

                        Related resources

                        • Evaluation options
                        • Create a randomized right-triangle hypotenuse question with tolerance

                        Was this article helpful?

                        Give feedback about this article

                        Related Articles

                        • Numbers representation, tolerance and precision
                        • How many numbers can I insert in a number field?
                        • Format numbers

                        Answer tolerance and decimal handling

                        Summary How answer comparison works Allow decimal numbers Error margin (tolerance) Percent error Absolute error Notes Related resources

                        Empowering STEM education

                        MathType

                        • Office Tools
                        • LMS
                        • XML
                        • HTML

                        WirisQuizzes

                        Learning Lemur

                        Integrations

                        Solutions

                        • Education
                        • Publishing houses – platforms and interactive
                        • Publishing houses – Print and digital
                        • Technical writers

                        Pricing

                        Downloads

                        Blog

                        • Success stories

                        About us

                        • Careers
                        • Partnership

                        Contact Us

                        Contact Sales

                        European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                        • Cookie Policy
                        • Terms of Use
                        • Privacy Policy / GDPR
                        • Student Data Privacy
                        • Compliance
                        • Cookie Settings

                        © Wiris 2026

                        Expand