Wednesday, 2 October 2013

Why this equation returns zero even though it should not?

Why this equation returns zero even though it should not?

So, I'm doing a fighting game in java and I have this equation that always
returns zero.
int x = 90/100*300;
It should be 270 but it returns zero. :|

No comments:

Post a Comment