Wiris

Documentation / WirisQuizzes

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • LearningLemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • MathFlow

                • BF FAQ

                  • Miscellaneous

                    • Wiris Integrations

                      • Home
                      • WirisQuizzes
                      • Validation Options
                      • Numbers representation, tolerance and precision
                      • Numbers representation, tolerance and precision

                      Integers and decimal numbers

                      Reading time: 1min

                      Integers and decimal numbers

                      CalcMe does calculations in exact mode and only falls to the approximate mode when any decimal number is involved. A decimal number is a number that has a decimal mark. A number without a decimal mark is an integer. Examples of exact expressions that are not integer numbers are: 12, π, 2, ...

                      Tip

                      Decimal numbers are shown using the Precision setting and are compared using the Tolerance setting. What is understood as a decimal mark depends on defining the Separator symbols in the Input options section.

                      You can convert an exact expression to approximate by making a simple operation with a decimal number, like multiplying by 1.0.

                      Beware that, despite the correct answer being an integer, the student can always answer a decimal number close enough, and it will be graded as correct. If you want to force the student to answer an integer, you better set the Symbolic answer validation option.

                      Also note some CalcMe commands sometimes return an exact number and sometimes an approximate one. For example: atan(), integrate(), solve(),... When programming the algorithm in Define random variables and functions, keep this in mind.

                      Was this article helpful?

                      Give feedback about this article

                      Related Articles

                      • Numbers representation, tolerance and precision
                      • Precision
                      • Tolerance
                      • Notation
                      • Concrete number of decimals as assertion

                      Integers and decimal numbers

                      Integers and decimal numbers Tip

                      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