The following code is driving me mad why is my trace cos value not zero but -1.836909530733566e-16 please im going out of my head checked it on 2 calculators gives 0 which is correct please help cheers.
var a:Number=(270*Math.PI)/180;
var xx:Number=Math.cos(a);
var yy:Number=Math.sin(a);
trace("cos x = "+xx); // why is this value not zero
trace("sin y = "+yy); // this is correct displaying -1