Math.cos giving bad results for large values
<p>I've seen a few answers to this but I still haven't found one that works for me.  When I try this :</p>

<pre><code>return Math.cos(270.* Math.PI/180); 
</code></pre>

<p>i get</p>

<pre><code>-1.8369701987210297E-16
</code></pre>

<p>while: -</p>

<pre><code>Math.cos(Math.toRadians(270.) // gives:-1.8369701987210297E-16
</code></pre>

<p>I was expecting this to give 0.    </p>
