This one line code does the exact function.
double d = 42.566454648;
double d1 = 23.545548125;
double d2 = d + d1;
Response.Write(d2.ToString("N3"));
double d = 42.566454648;
double d1 = 23.545548125;
double d2 = d + d1;
Response.Write(d2.ToString("N3"));
I have a sharepoint list contains the columnsIndia Chennai