I have number of type double. double a = 12.00 I have to make it as 12 by removing .00
Please help me
here is a trick
a = double.Parse(a.ToString().Split(',')[0])