Quote:
Originally Posted by RyanN
It will not try to use floating point or just use that fraction and multiply it? I thought that would work.
|
-11 and 5 are both integers, so it will do integer division. It might work if you explicitly made one of them a float (i.e. -11.0), but floating point is a mess on these controllers, so my integer solution is a pretty reasonable approach.