I was translating some codes from C++ to vb6 and I notice the results output when using sine or cosine is different for instance, sin(0.224654) will yield a result of 0.222769 when it should be 0.0039209. Any idea why?

Thanks.