In mathematics the cosine of 0.5Pi (in radians) is zero. In C# however the equivalent expression
Math.Cos(0.5 * Math.PI) would evaluate to 6.12303176911189E-17. A value that is very close to zero. I was wondering why it won't evaluate to exactly zero and if there is a way to correct this.
Thanks in advance