Why is the value of 3.5 + 1 / 2 + 56% 10 9.5

Why is the value of 3.5 + 1 / 2 + 56% 10 9.5

Integer division will round off all numbers after the decimal point
So your equivalent is 3.5 + 0 + 6
The answer is 9.5