why is (10/24) + 0 0
I divided two integers (int1 / int2) and added 0. The result was 0. This is not correct.
I found a work arround by storing the intermediate result in a extended, so there is no hurry.
I found a work arround by storing the intermediate result in a extended, so there is no hurry.
Comments
(int/int) + int result = int
in your example you had (10/24) +0 this is correct you are getting integer answer
if you used (10/24) +0.0 you would see 0.42