Then in normal math terms, the result would still be 62.6, but if all the numbers are
int
s,
then the calculation would proceed as follows:
1. 17 is divided by 5, which gives 3.4, which is then truncated to 3.
2. 3 is then multiplied by 9 and 32 is added to give a result of 59—which is quite a long
way from 62.6.
For
circumstances like this, we can use
Dostları ilə paylaş: