<< Click to Display Table of Contents >> Navigation: Reference Manual > Variables > Integer variable |
An integer variable is one to which the answer is a whole number (does not contain a decimal point).
The value for each respondent is calculated using an arithmetic definition.
All calculations are computed using double precision floating point arithmetic, even if the result is to be stored in an integer variable.
Because double precision floating point only preserves 15 digits accurately you should try to avoid more than 15 digit numbers being produced in calculations,
IMPORTANT: if the value calculated is not a whole number then it will be rounded to the nearest whole number.
TIP: integer variables that are filtered will be treated as "undefined" in arithmetic calculations unless "Treat undefined as zero" is set.