Use floats unless you really grok integer division and scaling techniques. Hint you'll need intermediate long values if sticking to int maths.
Use floats unless you really grok integer division and scaling techniques. Hint you'll need intermediate long values if sticking to int maths.