Hi I found one solution for the above problem.
sample code is attached below
static void Main(string[] args)
{
double d = -.000000000000004;
double k = .000000000000001;
double re = d - k;
string st = re.ToString();
re = System.Double.Parse(st);
}
Convert the double to string and convert the string back to double then the junk values will get truncated.