Why doesn't this work??
int ri is 10
int tot is 13
Basically, what I want to do is assign 10/13 ( or ri / tot) to a variable. Everything I've tried (BigDecimal, double, float) have all come out to 0.
The following variables come out to 0 when run as-is:
Here's my code:
this is really, really weird, and any help would be greatly appreciated.
Original message URL: http://www.jetbrains.net/devnet/message/5233071#5233071