News for hackers. Stuff that matters.
Re:Math puzzle for Vietnamese eight-year-olds by IanCal on Thursday May 21, 2015 @09:49AM (#9582707)
No, the problem is the other way around. Keeping them as integers and just using '/' is what's causnig the problem. You can either force them to be floats (not the result, the parameters in the calculation), or you can explicitly look for divisions that have remainders.

There are no comments on this comment yet.