var faderout = function(){
if(foo.style.opacity>0){
foo.style.opacity -= 0.1;
var t = setTimeout(faderout,100);
}
else if(foo.style.opacity == 0){
o = true;
clearTimeout(t);
}
I can't get the opacity to exact 0, I just get it to 0.1000000004, any one know why i dont get it to 0?