@Kurt_Bremser wrote:
@andreas_lds wrote:
@PeterClemmensen : the problem is that
int(a / b * 100) ^= a / b * 100
But it should be the same. It seems as if the function int applied to the result of a / b before the multiplication takes place.
Absolutely not. It's "only" the classic "binary representation of decimal fractions" problem, confounded by the multiplication by 100.
I just wanted to say that the problem was not that the division without applying int-function didn't work, but that the result differed from the result expected by @KoryeoVitamin - at least that was my interpretation of the initial post.
... View more