Need help from the masters again...Hope they see this
So im doing a bpo project wherein accuracy is important...the problem is when i use the math.cos function it only gives me a double return value...
in excel it works fine..here is my function in excel
=0.025*COS(1/180*PI())
it gives me the correct and precise value of 0.024996192
but when i do it in c#
decimal answer= 0.025 * Convert.ToDecimal(Math.Cos(1 / 180 * Math.PI))
it gives me a round off value of .025.. T.T....mga master pls help me