Rounding DOwn to nearest whole number.... am i cheating or is this more than adequate
<p>essentially if the number generated is 2.3 then if i minus .5 it will then be 1.8 but the rounding function will make it 2 which is what i want. or if the answer is 2.99999 and I - minus .5 the answer is 2.49999 which should round down to 2 which is what i want. my question is if the answer is 2 even and i minus .5 the answer is now 1.5 will it still round up to 2. </p>

<pre><code>temp1_1= Math.round(temp2_2/(360/temp_value)-.5);
</code></pre>

<p>this is my line of code for this.</p>
