Strange arithmetic error with vectors
<p>I am using DirectX to draw on screen.  </p>

<p>I want to make the image about whilst keeping the dimensions, so I am assigning some arithmetic to the vertexes:</p>

<pre><code>float boxPosFactorX = (869-3)+(100/100 * (1063 - 869));
float boxPosFactorY = (940-3)+(100/100 * (1038 - 940));



vertexes[0].Position = new Vector4((50 * boxScale) + boxPosFactorX, (50 * boxScale) +     boxPosFactorY, 0, 1.0f);

// other vertexes with same structure just different constants (e.g. 50 above is the constant values of that vertex.
</code></pre>

<p>Now here is the really weird part, the code above works as expected, but as soon as change the ratio "100/100" to anything below "99/100" or less, it behaves as if the code were:</p>

<pre><code>float boxPosFactorX = (869-3)
float boxPosFactorY = (940-3)
</code></pre>
