Your explanation may apply to C-derived languages but not Pascal.
You may be right about that but, I am not sure. I'd have to review what the Pascal standard says.
In Pascal operands of /-division can be integers.
_IF_ that is true then it introduces an inconsistency in the language because real_type div real_type is not allowed while, if what you are stating is correct, integer_type / integer_type is allowed. That would be an undesirable inconsistency.
@OP,
Did you try my suggestion and, if so, did it eliminate the type mismatch message ?
ETAFPC's /-operator takes both floating point and integer types. However it always results in a floating point type.
Thank you for the clarification.