When the + operator has two operands of integral type or real type it performs addition, according to the following rules:
First the numeric type conversion rules are applied. After applying the numeric type conversion rules, the operands are either both of integer type, or both of word type or both of real type, or one operand is of address type and the other operand is not.
Here are some examples using the + operator to perform addition:
3 + 5 which results in the integer value 8 3 + 5.0 which results in the real value 8.0 3.0 + 5 which results in the real value 8.0 3.0 + 5.0 which results in the real value 8.0