-
MathType
-
Wiris Quizzes
-
Learning Lemur
-
CalcMe
-
MathPlayer
-
Store FAQ
-
VPAT for the electronic documentation
-
MathFlow
-
BF FAQ
Integers and decimal numbers
Reading time: 1minIntegers 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.