Wiris

Documentation / Nubric

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • Nubric

        • CalcMe

          • MathPlayer

            • Store FAQ

              • MathFlow

                • BF FAQ

                  • Miscellaneous

                    • Wiris Integrations

                      • Home
                      • Nubric
                      • Nubric Reference
                      • Nubric question configuration

                      Nubric answer tolerance and decimal handling

                      Reading time: 1min

                      Reference for how decimal values are handled and how tolerance is applied when evaluating student answers in numerical questions.

                      Summary

                      Nubric evaluates numerical answers by comparing the student's answer to the expected correct value. The evaluation depends on whether decimal numbers are allowed and on the configured tolerance (error margin).

                      Location

                      • Nubric question editor → Answers section → Edit (Evaluation options)

                      Availability

                      • Nubric

                      Default

                      • Decimal numbers: Enabled.
                      • Error margin: 0.1 % error.

                      Parameters

                      Allow decimal numbers

                      Field Type Allowed values Default Description
                      Allow decimal numbers boolean Enabled or Disabled Enabled This option determines whether answers can include decimal values.

                      Error margin (tolerance)

                      Field Type Allowed values Default Description
                      Error margin number + enum Numeric value + absolute or percentage 0.1 + percentage 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.

                      image.png

                      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.

                      image.png

                      Behavior

                      How answer comparison works

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

                      • Whether decimal numbers are allowed.
                      • The configured error margin.

                      What happens when enabled

                      • Students can submit decimal answers (e.g. 2.5, 3.14).

                      What happens when disabled

                      • Only integer values are accepted (e.g. 2, 10).
                      • If decimal numbers are not allowed, any non-integer answer is considered incorrect.

                      Examples

                      Percent error

                      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

                      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]

                      Notes

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

                      Related articles

                      • Nubric evaluation options.
                      • Create a randomized right-triangle hypotenuse question with tolerance.

                      Was this article helpful?

                      Give feedback about this article

                      Nubric answer tolerance and decimal handling

                      Summary Location Availability Default Parameters Allow decimal numbers Error margin (tolerance) Percent error Absolute error Behavior How answer comparison works What happens when enabled What happens when disabled Examples Percent error Absolute error Notes Related articles

                      Empowering STEM education

                      MathType

                      • Office Tools
                      • LMS
                      • XML
                      • HTML

                      WirisQuizzes

                      Nubric

                      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