INTEGER vs REAL

Complete the previous lesson to unlock this one.

Back to the path

INTEGER vs REAL

Level 2: Values. A count is INTEGER. A measurement that may have a decimal part is REAL. Mixing them is a type mark loss.

INTEGER is a whole number (including negatives and zero). REAL can have a fractional part.

DIV and MOD are for INTEGER. / is real division.